Files
photon/libc/stdio/puts.c

12 lines
157 B
C
Raw Normal View History

2020-05-01 20:39:31 +01:00
#include <stdio.h>
int puts(const char *str)
{
2020-12-21 23:24:04 +00:00
int r = fputs(str, stdout);
if (r != 0) {
return r;
}
return fputc('\n', stdout);
2020-05-01 20:39:31 +01:00
}