From 020684e443a1f78e36f1eaa4db5c133150e2f026 Mon Sep 17 00:00:00 2001 From: jilles Date: Fri, 16 Aug 2013 13:10:30 +0000 Subject: Add dup3(), based on F_DUP2FD and F_DUP2FD_CLOEXEC fcntls. I removed functionality not proposed for POSIX in Austin group issue #411. A man page (my own) and test cases will follow in later commits. PR: 176233 Submitted by: Jukka Ukkonen --- include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index 9df0777..5868ba2 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -493,6 +493,7 @@ const char * int crypt_set_format(const char *); int des_cipher(const char *, char *, long, int); int des_setkey(const char *key); +int dup3(int, int, int); int eaccess(const char *, int); void endusershell(void); int exect(const char *, char * const *, char * const *); -- cgit v1.1