aboutsummaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2013-08-16 13:10:30 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2013-08-16 13:10:30 +0000
commit67560dcfb52047f8925bd462195ea777e21ceaa5 (patch)
tree30e10959c2614937a6af2cbc13a825ae2194ae9d /include/unistd.h
parentd06cb0764ecbeb79b332eaac6e52037c02eed164 (diff)
downloadsrc-67560dcfb52047f8925bd462195ea777e21ceaa5.tar.gz
src-67560dcfb52047f8925bd462195ea777e21ceaa5.zip
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
Notes
Notes: svn path=/head/; revision=254409
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 9df07774c911..5868ba2ed94f 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 *);