Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 8792 → Rev 8793

/programs/develop/ktcc/trunk/libc.obj/source/stdio/getchar.c
0,0 → 1,12
#include <stdio.h>
#include <conio.h>
 
int getchar(void) {
con_init();
char c = 0;
con_gets(&c, 2);
if (c == 0) {
c = EOF;
}
return c;
}