projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove another invalid skip of locking in ungetwc
[oweals/musl.git]
/
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
}