diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-10 15:16:03 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-10 15:16:03 -0800 |
commit | 8eb52e34be029cd7f276871c830b02fdf53ed00c (patch) | |
tree | 136eb4b97a053cf40523619a01998f1c3542b16c /system/include | |
parent | 4fa378ac9f3c0b1e028f9ce3c8508b36c79a8d9a (diff) | |
parent | 0dbab8bac7604d7e70d49f5a9db1ada93537420d (diff) |
Merge pull request #1408 from rfk/move-std-fds
Make stdin/stdout/stderr be 0/1/2 per standard posix convention
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 |