summaryrefslogtreecommitdiff
path: root/userland
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-20 00:44:13 +0100
committerAnton Kling <anton@kling.gg>2023-11-20 00:44:13 +0100
commit328aea599f93aa0020f65a68588f6205ab79691c (patch)
tree8daf1ce2c067c1a9a879caf6d912cdc910b1a2d5 /userland
parentc7e384a6357db8bcd0d02d6fa9a9f549d8b40fd3 (diff)
LibC: Add macros for stdin, stdout, stderr in unistd
Diffstat (limited to 'userland')
-rw-r--r--userland/libc/include/unistd.h2
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;