Annotation of researchv10dc/ncurses/screen/vsscanf.c, revision 1.1

1.1     ! root        1: /*     @(#) vsscanf.c: 1.1 10/15/83    (1.1)   */
        !             2: #include <stdio.h>
        !             3: #include <varargs.h>
        !             4: 
        !             5: /*
        !             6:  *     This routine implements vsscanf (nonportably) until such time
        !             7:  *     as one is available in the system (if ever).
        !             8:  */
        !             9: 
        !            10: vsscanf(buf, fmt, ap)
        !            11: char   *buf;
        !            12: char   *fmt;
        !            13: va_list        ap;
        !            14: {
        !            15:        FILE    junk;
        !            16: 
        !            17:        junk._flag = _IOREAD;
        !            18:        junk._file = -1;
        !            19:        junk._base = junk._ptr = (unsigned char*)buf;
        !            20:        junk._cnt = strlen(buf);
        !            21:        return _doscan(&junk, fmt, ap);
        !            22: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.