s390x: add single-instruction math functions
[musl.git] / src / stdio / puts.c
blob5a38a49b975adcad3192eda3148ef1acf55ad0df
1 #include "stdio_impl.h"
3 int puts(const char *s)
5 int r;
6 FLOCK(stdout);
7 r = -(fputs(s, stdout) < 0 || putc_unlocked('\n', stdout) < 0);
8 FUNLOCK(stdout);
9 return r;