add directory study
This commit is contained in:
19
study/linux-travel/minix-386/estdio21.tar/estdio21/fprintf.c
Normal file
19
study/linux-travel/minix-386/estdio21.tar/estdio21/fprintf.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/* f p r i n t f */
|
||||
|
||||
#include "stdiolib.h"
|
||||
|
||||
/*LINTLIBRARY*/
|
||||
/*VARARGS2*/
|
||||
/*ARGSUSED*/
|
||||
|
||||
int fprintf F2V(FILE *, fp, CONST char *, fmt,
|
||||
|
||||
{
|
||||
register VA_LIST, arg, /* argument vector */
|
||||
register int v; /* return value */
|
||||
|
||||
VA_START(arg, fmt);)
|
||||
v = __vfprintf(fp, fmt, arg);
|
||||
VA_END(arg);
|
||||
return v;
|
||||
}
|
||||
Reference in New Issue
Block a user