aboutsummaryrefslogtreecommitdiff
path: root/system/include
diff options
context:
space:
mode:
authorRyan Kelly <ryan@rfk.id.au>2014-01-29 15:07:20 +1100
committerRyan Kelly <ryan@rfk.id.au>2014-02-02 10:26:03 +1100
commitdd5c0f51c713251b0fea5946fe31815ede6b7be8 (patch)
tree292a0f5d33737d10cbafb3b2c99d00c6dcd79f31 /system/include
parentf5c957b2893744f061adbcf2a911cb693025a613 (diff)
Use standard fds of 0,1,2 rather than 1,2,3
Diffstat (limited to 'system/include')
-rw-r--r--system/include/libc/unistd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/include/libc/unistd.h b/system/include/libc/unistd.h
index ef6ba3b3..995a84ea 100644
--- a/system/include/libc/unistd.h
+++ b/system/include/libc/unistd.h
@@ -7,9 +7,9 @@ extern "C" {
#include <features.h>
-#define STDIN_FILENO 1
-#define STDOUT_FILENO 2
-#define STDERR_FILENO 3
+#define STDIN_FILENO 0
+#define STDOUT_FILENO 1
+#define STDERR_FILENO 2
#define SEEK_SET 0
#define SEEK_CUR 1