WIP: stdio.h

This commit is contained in:
Jeremy Soller
2018-03-03 15:15:50 -07:00
parent 2aff4d41dd
commit e30dec7124
9 changed files with 80 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#ifndef _BITS_STDIO_H
#define _BITS_STDIO_H
int printf(const char *restrict fmt, ...) {
int ret;
va_list ap;
va_start(ap, fmt);
ret = vfprintf(stdout, fmt, ap);
va_end(ap);
return ret;
}
#endif /* _BITS_STDIO_H */