diff options
author | Anton Kling <anton@kling.gg> | 2023-11-20 00:44:13 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-20 00:44:13 +0100 |
commit | 328aea599f93aa0020f65a68588f6205ab79691c (patch) | |
tree | 8daf1ce2c067c1a9a879caf6d912cdc910b1a2d5 /userland | |
parent | c7e384a6357db8bcd0d02d6fa9a9f549d8b40fd3 (diff) |
LibC: Add macros for stdin, stdout, stderr in unistd
Diffstat (limited to 'userland')
-rw-r--r-- | userland/libc/include/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/userland/libc/include/unistd.h b/userland/libc/include/unistd.h index d8c8b9d..e47f6eb 100644 --- a/userland/libc/include/unistd.h +++ b/userland/libc/include/unistd.h @@ -5,6 +5,8 @@ #include <sys/types.h> #define STDIN_FILENO 0 +#define STDOUT_FILENO 1 +#define STDERR_FILENO 2 extern int opterr, optind, optopt; extern char *optarg; |