math: x86_64 version of expl, fixed some comments in the i386 version
[musl] / src / stdio / puts.c
1 #include "stdio_impl.h"
2
3 int puts(const char *s)
4 {
5         int r;
6         FLOCK(stdout);
7         r = -(fputs(s, stdout) < 0 || putc_unlocked('\n', stdout) < 0);
8         FUNLOCK(stdout);
9         return r;
10 }