summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-08-16 13:10:30 +0000
committerjilles <jilles@FreeBSD.org>2013-08-16 13:10:30 +0000
commit020684e443a1f78e36f1eaa4db5c133150e2f026 (patch)
tree30e10959c2614937a6af2cbc13a825ae2194ae9d /include/unistd.h
parent5e5b39c47eb6fbcf9e6eeeecaa13a84dca61e7e4 (diff)
downloadFreeBSD-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/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 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 *);
OpenPOWER on IntegriCloud