From 90accddebef0cf967e67c9d2412082a361d9f2bd Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 10 Oct 2012 16:42:37 +0100 Subject: dup2: Use dup3 if arch does not have the dup2 syscall Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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. */ -- cgit v1.2.3