mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
282 B
11 lines
282 B
#include "stdio_impl.h"
|
|
|
|
/* This function will never be called if there is already data
|
|
* buffered for reading. Thus we can get by with very few branches. */
|
|
|
|
int __uflow(FILE *f)
|
|
{
|
|
unsigned char c;
|
|
if ((f->rend || !__toread(f)) && f->read(f, &c, 1)==1) return c;
|
|
return EOF;
|
|
}
|
|
|