Usermode/libc - Flush stdout on getchar
authorJohn Hodge <[email protected]>
Sun, 9 Feb 2014 14:35:18 +0000 (22:35 +0800)
committerJohn Hodge <[email protected]>
Sun, 9 Feb 2014 14:35:18 +0000 (22:35 +0800)
Usermode/Libraries/libc.so_src/stdio.c

index ac6abae..e98ca42 100644 (file)
@@ -774,6 +774,7 @@ EXPORT int fgetc(FILE *fp)
 \r
 EXPORT int getchar(void)\r
 {\r
+       fflush(stdout);\r
        return fgetc(stdin);\r
 }\r
 \r

UCC git Repository :: git.ucc.asn.au