Import sources from 2011-03-30 iso image

This commit is contained in:
Taru Karttunen 2011-03-30 15:46:40 +03:00
commit e5888a1ffd
7810 changed files with 2489717 additions and 0 deletions

14
sys/src/libstdio/sscanf.c Executable file
View file

@ -0,0 +1,14 @@
/*
* pANS stdio -- sscanf
*/
#include "iolib.h"
int sscanf(const char *s, const char *fmt, ...){
int n;
FILE *f=sopenr(s);
va_list args;
va_start(args, fmt);
n=vfscanf(f, fmt, args);
va_end(args);
sclose(f);
return n;
}