diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2012-10-10 16:42:37 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-20 13:45:10 +0100 |
commit | 90accddebef0cf967e67c9d2412082a361d9f2bd (patch) | |
tree | 74c100d8d2fa61e759cef5a384e21df7cd1ccb9a /include/unistd.h | |
parent | ad68946e285307bf81fe0433ef952fb5386777ec (diff) |
dup2: Use dup3 if arch does not have the dup2 syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 947955469..81f8e24dc 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -566,6 +566,7 @@ libc_hidden_proto(dup2) /* Duplicate FD to FD2, closing FD2 and making it open on the same file while setting flags according to FLAGS. */ extern int dup3 (int __fd, int __fd2, int __flags) __THROW; +libc_hidden_proto(dup3) #endif /* NULL-terminated array of "NAME=VALUE" environment variables. */ |