diff options
Diffstat (limited to 'libc/src/stdio.c')
-rw-r--r-- | libc/src/stdio.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/src/stdio.c b/libc/src/stdio.c new file mode 100644 index 0000000..eab9c7e --- /dev/null +++ b/libc/src/stdio.c @@ -0,0 +1,9 @@ +#include <stdio.h> + +FILE * stdin, * stdout, * stderr; + +void __sinit(struct _reent * reent) { + stdin->fd = 0; + stdout->fd = 1; + stderr->fd = 2; +} |