Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
201dabf78546ca712d3541670a5d898dc199854e
/
.
/
usr
/
klibc
/
fputc.c
blob: 386d86cb0ae292aa0d3c14508ebf5e8d58723d32 [
file
] [
log
] [
blame
]
/*
* fputc.c
*
* gcc "printf decompilation" expects this to exist...
*/
#include
<stdio.h>
int
fputc
(
int
c
,
FILE
*
f
)
{
unsigned
char
ch
=
c
;
return
_fwrite
(&
ch
,
1
,
f
)
==
1
?
ch
:
EOF
;
}