meta: move photon/libc to root
This commit is contained in:
11
libc/stdio/puts.c
Normal file
11
libc/stdio/puts.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int puts(const char *str)
|
||||
{
|
||||
int r = fputs(str, stdout);
|
||||
if (r != 0) {
|
||||
return r;
|
||||
}
|
||||
|
||||
return fputc('\n', stdout);
|
||||
}
|
||||
Reference in New Issue
Block a user