diff options
Diffstat (limited to 'userland/libc/stdio/getchar.c')
-rw-r--r-- | userland/libc/stdio/getchar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/userland/libc/stdio/getchar.c b/userland/libc/stdio/getchar.c new file mode 100644 index 0000000..dad2263 --- /dev/null +++ b/userland/libc/stdio/getchar.c @@ -0,0 +1,4 @@ +#include <stdio.h> + +// The getchar() function shall be equivalent to getc(stdin). +int getchar(void) { return fgetc(stdin); } |