repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
limit the configurable default stack/guard size for threads
[musl.git]
/
src
/
stdio
/
putc.c
blob
fa8934969b62de4c4ca99172d13f95f13fc3e0a8
1
#include
"stdio_impl.h"
2
3
int
putc
(
int
c
,
FILE
*
f
)
4
{
5
if
(
f
->
lock
<
0
|| !
__lockfile
(
f
))
6
return
putc_unlocked
(
c
,
f
);
7
c
=
putc_unlocked
(
c
,
f
);
8
__unlockfile
(
f
);
9
return
c
;
10
}
11
12
weak_alias
(
putc
,
_IO_putc
);