chiark / gitweb /
[PATCH] sync with latest version of klibc (0.107)
[elogind.git] / klibc / klibc / puts.c
1 /*
2  * puts.c
3  */
4
5 #include <stdio.h>
6
7 int puts(const char *s)
8 {
9   if ( fputs(s, stdout) < 0 )
10     return -1;
11
12   return _fwrite("\n", 1, stdout);
13 }