Sign in
mojo
/
mojo-tools
/
862d13b6f591fb83034e80ed5a8c59fb9d0b7b56
/
.
/
fusl
/
src
/
stdio
/
putc.c
blob: 0f85bc9cfcdc1e20c4bc4c0a02c12ce5478b2e09 [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
int
putc
(
int
c
,
FILE
*
f
)
{
if
(
f
->
lock
<
0
||
!
__lockfile
(
f
))
return
putc_unlocked
(
c
,
f
);
c
=
putc_unlocked
(
c
,
f
);
__unlockfile
(
f
);
return
c
;
}
weak_alias
(
putc
,
_IO_putc
);