summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/getc.c
blob: 242c839605ce83d30b7d3ae05cb75152f02b09a1 (plain)
1
2
3
4
5
6
7
8
9
#include <libc.h>  // for weak_reference
#include <stdio.h> // for fgetc, FILE, getc, getc_unlocked

int getc(FILE *stream)
{
	return fgetc(stream);
}

weak_reference(getc, getc_unlocked);