summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-05-01 22:28:58 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-05-01 22:28:58 +0000
commite3857bbe00628e8ae9c279aee4a79b06ea7089b8 (patch)
treeffb26dcc8e4fea662f507118a53e8012033c8fbb /lib
parentd1fbe51ac3501a18597f66096fbfe048572c6aea (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/fcntl.210
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 5587bcfba35c..f52e7b417243 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -70,7 +70,7 @@ share the same file status flags).
.It
The close-on-exec flag associated with the new file descriptor
is set to remain open across
-.Xr execv 2
+.Xr execve 2
system calls.
.El
.It Dv F_GETFD
@@ -424,12 +424,6 @@ is an exclusive lock
and
.Fa fildes
is not a valid file descriptor open for writing.
-.It Bq Er EMFILE
-.Fa Cmd
-is
-.Dv F_DUPFD
-and the maximum allowed number of file descriptors are currently
-open.
.It Bq Er EDEADLK
The argument
.Fa cmd
@@ -468,7 +462,7 @@ refers to a file that does not support locking.
The argument
.Fa cmd
is
-.Dv F_DUPED
+.Dv F_DUPFD
and the maximum number of file descriptors permitted for the
process are already in use,
or no file descriptors greater than or equal to