diff options
Diffstat (limited to 'src/include/stdio.h')
-rw-r--r-- | src/include/stdio.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/stdio.h b/src/include/stdio.h new file mode 100644 index 00000000..534c6907 --- /dev/null +++ b/src/include/stdio.h @@ -0,0 +1,18 @@ +#ifndef STDIO_H +#define STDIO_H + +#include "../../include/stdio.h" + +#undef stdin +#undef stdout +#undef stderr + +extern hidden FILE __stdin_FILE; +extern hidden FILE __stdout_FILE; +extern hidden FILE __stderr_FILE; + +#define stdin (&__stdin_FILE) +#define stdout (&__stdout_FILE) +#define stderr (&__stderr_FILE) + +#endif |