kolibrios/contrib/kolibri-libc/source/stdio/getchar.c

11 lines
135 B
C
Raw Normal View History

#include <stdio.h>
#include "conio.h"
int getchar(void) {
int c = __con_getch();
if (c == 0) {
c = EOF;
}
return c;
}