From ecc350ca5c2eb50be8309c5f14f8bf0d87db9a02 Mon Sep 17 00:00:00 2001 From: Moon Flower Date: Mon, 12 Oct 2026 08:46:23 +0330 Subject: a --- docs/history/15-o3/code/io_linux.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/history/15-o3/code/io_linux.c (limited to 'docs/history/15-o3/code/io_linux.c') diff --git a/docs/history/15-o3/code/io_linux.c b/docs/history/15-o3/code/io_linux.c new file mode 100644 index 0000000..7ea34e0 --- /dev/null +++ b/docs/history/15-o3/code/io_linux.c @@ -0,0 +1,6 @@ +#include +int J; +static int pk(void){int c=getchar();ungetc(c,stdin);return c==EOF;} +char Q(void){int c=getchar();J=pk();return c;} +void G(char c){putchar(c);} +__attribute__((constructor)) static void init(void){J=pk();} -- cgit v1.2.3