summaryrefslogtreecommitdiff
path: root/src/stdio/__uflow.c
blob: 5a51d6102a9a073f4cf31184eed5628e1b2728ba (plain) (blame)
1
2
3
4
5
6
7
#include "stdio_impl.h"

int __uflow(FILE *f)
{
	if (__underflow(f) < 0) return EOF;
	else return *f->rpos++;
}