summaryrefslogblamecommitdiff
path: root/src/stdio/fgetc.c
blob: da6386842f99fc869d244f3c0b9e71c3465910ef (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                       
                             


                   

                        
#include "stdio_impl.h"

int fgetc(FILE *f)
{
	int c;
	FLOCK(f);
	c = getc_unlocked(f);
	FUNLOCK(f);
	return c;
}

weak_alias(fgetc, getc);