home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / libnix-0.8-src.lha / libnix-0.8 / sources / nix / stdio / vsscanf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-12  |  310 b   |  16 lines

  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <stdarg.h>
  4. #include <strsup.h>
  5.  
  6. int vsscanf(const char *s,const char *format,va_list args)
  7. {
  8.   FILE buffer;
  9.   buffer.p=(char *)s;
  10.   buffer.flags=0x204;
  11.   buffer.incount=strlen(s);
  12.   buffer.outcount=0;
  13.   buffer.tmpp=NULL;
  14.   return vfscanf(&buffer,format,args);
  15. }
  16.