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
sys/stat.h: fix typo in statx member name stx_dio_offset_align
[musl.git]
/
src
/
stdio
/
__uflow.c
blob
2a88bca6b123cc2143911783a09a9cac0ce53773
1
#include
"stdio_impl.h"
2
3
/* This function assumes it will never be called if there is already
4
* data buffered for reading. */
5
6
int
__uflow
(
FILE
*
f
)
7
{
8
unsigned char
c
;
9
if
(!
__toread
(
f
) &&
f
->
read
(
f
, &
c
,
1
)==
1
)
return
c
;
10
return
EOF
;
11
}