diff options
author | Anton Kling <anton@kling.gg> | 2023-10-24 13:50:36 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-24 13:50:36 +0200 |
commit | 3ae251a204748a2f1c4c2af6c55e73d5e5159d0f (patch) | |
tree | 07d02eb1b25173e3af41284a9def4cdb9191bb97 /userland/libc/stdio/stdout.c | |
parent | e91a4f1e31ee100b2a13cefedb182e9d69ef04ad (diff) |
LibC: Allocate stdin, stdout, stderr on the heap so they can be closed with fclose
Diffstat (limited to 'userland/libc/stdio/stdout.c')
-rw-r--r-- | userland/libc/stdio/stdout.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/userland/libc/stdio/stdout.c b/userland/libc/stdio/stdout.c deleted file mode 100644 index 7f4edf0..0000000 --- a/userland/libc/stdio/stdout.c +++ /dev/null @@ -1,13 +0,0 @@ -#include <stdio.h> -#include <unistd.h> - -FILE __stdout_FILE = { - .write = write_fd, - .read = read_fd, - .is_eof = 0, - .has_error = 0, - .seek = NULL, - .cookie = NULL, - .fd = 1, -}; -FILE __stderr_FILE; |