meta: move photon/libc to root
This commit is contained in:
11
libc/stdio/printf.c
Normal file
11
libc/stdio/printf.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
#include "__printf.h"
|
||||
|
||||
int printf(const char *restrict format, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
int len = vprintf(format, args);
|
||||
va_end(args);
|
||||
return len;
|
||||
}
|
||||
Reference in New Issue
Block a user