diff options
author | Ryan Kelly <ryan@rfk.id.au> | 2014-01-29 15:07:20 +1100 |
---|---|---|
committer | Ryan Kelly <ryan@rfk.id.au> | 2014-02-02 10:26:03 +1100 |
commit | dd5c0f51c713251b0fea5946fe31815ede6b7be8 (patch) | |
tree | 292a0f5d33737d10cbafb3b2c99d00c6dcd79f31 /system/include | |
parent | f5c957b2893744f061adbcf2a911cb693025a613 (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.h | 6 |
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 |