|
|
researchv10 Norman
/* @(#) vsscanf.c: 1.1 10/15/83 (1.1) */
#include <stdio.h>
#include <varargs.h>
/*
* This routine implements vsscanf (nonportably) until such time
* as one is available in the system (if ever).
*/
vsscanf(buf, fmt, ap)
char *buf;
char *fmt;
va_list ap;
{
FILE junk;
junk._flag = _IOREAD;
junk._file = -1;
junk._base = junk._ptr = (unsigned char*)buf;
junk._cnt = strlen(buf);
return _doscan(&junk, fmt, ap);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.