Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
stdio
/
__uflow.c
blob: 2a88bca6b123cc2143911783a09a9cac0ce53773 [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
/* This function assumes it will never be called if there is already
* data buffered for reading. */
int
__uflow
(
FILE
*
f
)
{
unsigned
char
c
;
if
(!
__toread
(
f
)
&&
f
->
read
(
f
,
&
c
,
1
)==
1
)
return
c
;
return
EOF
;
}