__uflow.c\stdio\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/__uflow.c
blob: 2a88bca6b123cc2143911783a09a9cac0ce53773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#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;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月11日 04:49:27 +0000

AltStyle によって変換されたページ (->オリジナル) /