Import sources from 2011-03-30 iso image
This commit is contained in:
commit
e5888a1ffd
7810 changed files with 2489717 additions and 0 deletions
12
sys/src/libstdio/printf.c
Executable file
12
sys/src/libstdio/printf.c
Executable file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* pANS stdio -- printf
|
||||
*/
|
||||
#include "iolib.h"
|
||||
int printf(const char *fmt, ...){
|
||||
int n;
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
n=vfprintf(stdout, fmt, args);
|
||||
va_end(args);
|
||||
return n;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue