summaryrefslogblamecommitdiff
path: root/src/stdio/getc_unlocked.c
blob: 629223eaa97a401354a8889b9d84861706939fdc (plain) (tree)
1
2
3
4
5
6
7
8







                                                            
#include "stdio_impl.h"

int getc_unlocked(FILE *f)
{
	return f->rpos < f->rstop ? *f->rpos++ : __uflow(f);
}

weak_alias (getc_unlocked, fgetc_unlocked);