diff options
Diffstat (limited to 'lib/libc/stdio/getc.c')
| -rw-r--r-- | lib/libc/stdio/getc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/stdio/getc.c b/lib/libc/stdio/getc.c new file mode 100644 index 00000000..251675aa --- /dev/null +++ b/lib/libc/stdio/getc.c @@ -0,0 +1,9 @@ +#include <libc.h> +#include <stdio.h> + +int getc(FILE *stream) +{ + return fgetc(stream); +} + +weak_reference(getc, getc_unlocked); |
