summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-02-15 16:18:12 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-02-15 16:18:12 +0000
commit55452223c9d676bcf29601948a97aa10f322fd10 (patch)
tree1e3d4dcf5d9ea458c38e8380ea8ae8e21117283c /libc/stdio/stdio.c
parentdd3bc2a852ae26bec72217e45237f28e2d87237c (diff)
Fix stdin/stdout/stderr for now.
Diffstat (limited to 'libc/stdio/stdio.c')
-rw-r--r--libc/stdio/stdio.c4
1 files changed, 4 insertions, 0 deletions
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