From 55452223c9d676bcf29601948a97aa10f322fd10 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 15 Feb 2001 16:18:12 +0000 Subject: Fix stdin/stdout/stderr for now. --- libc/stdio/stdio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/stdio/stdio.c') diff --git a/libc/stdio/stdio.c b/libc/stdio/stdio.c index 27b54dcb3..e274b9018 100644 --- a/libc/stdio/stdio.c +++ b/libc/stdio/stdio.c @@ -96,6 +96,10 @@ FILE _stdio_streams[3] = { 2, _IONBF | __MODE_WRITE | __MODE_IOTRAN} }; +FILE *_stdin = _stdio_streams + 0; +FILE *_stdout = _stdio_streams + 1; +FILE *_stderr = _stdio_streams + 2; + /* * Note: the following forces linking of the __init_stdio function if * any of the stdio functions are used (except perror) since they all -- cgit v1.2.3