diff options
author | jilles <jilles@FreeBSD.org> | 2013-08-16 13:10:30 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-08-16 13:10:30 +0000 |
commit | 020684e443a1f78e36f1eaa4db5c133150e2f026 (patch) | |
tree | 30e10959c2614937a6af2cbc13a825ae2194ae9d /include | |
parent | 5e5b39c47eb6fbcf9e6eeeecaa13a84dca61e7e4 (diff) | |
download | FreeBSD-src-020684e443a1f78e36f1eaa4db5c133150e2f026.zip FreeBSD-src-020684e443a1f78e36f1eaa4db5c133150e2f026.tar.gz |
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
Diffstat (limited to 'include')
-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 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 *); |