diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-02-15 16:18:12 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-02-15 16:18:12 +0000 |
commit | 55452223c9d676bcf29601948a97aa10f322fd10 (patch) | |
tree | 1e3d4dcf5d9ea458c38e8380ea8ae8e21117283c /libc/stdio/stdio.c | |
parent | dd3bc2a852ae26bec72217e45237f28e2d87237c (diff) |
Fix stdin/stdout/stderr for now.
Diffstat (limited to 'libc/stdio/stdio.c')
-rw-r--r-- | libc/stdio/stdio.c | 4 |
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 |