Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/*
2
 * pANS stdio -- sscanf
3
 */
4
#include "iolib.h"
5
int sscanf(const char *s, const char *fmt, ...){
6
	int n;
7
	FILE *f=sopenr(s);
8
	va_list args;
9
	va_start(args, fmt);
10
	n=vfscanf(f, fmt, args);
11
	va_end(args);
12
	sclose(f);
13
	return n;
14
}