aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-07-22 15:15:16 +0000
committerBruce Evans <bde@FreeBSD.org>2002-07-22 15:15:16 +0000
commit7b288f8ec12699cef7523c867e76d53edc9cc7f5 (patch)
tree62eff9f2fe3d23070a82e215a69f6511e12733f2 /lib/libc/sys
parentf1307896baa2cc2de768399c079b4148295c4787 (diff)
Notes
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/fcntl.29
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 8cd13f7f3e5a..20540d572ab2 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -88,6 +88,7 @@ as
If the returned value ANDed with
.Dv FD_CLOEXEC
is 0,
+the file will remain open across
.Fn exec ,
otherwise the file will be closed upon execution of
.Fn exec
@@ -404,7 +405,7 @@ or the type is an exclusive lock and some portion of the
segment of a file to be locked is already shared-locked or
exclusive-locked by another process.
.It Bq Er EBADF
-.Fa Fildes
+.Fa \&Fd
is not a valid open file descriptor.
.Pp
The argument
@@ -418,7 +419,7 @@ the type of lock
is a shared lock
.Pq Dv F_RDLCK ,
and
-.Fa fildes
+.Fa fd
is not a valid file descriptor open for reading.
.Pp
The argument
@@ -432,7 +433,7 @@ the type of lock
is an exclusive lock
.Pq Dv F_WRLCK ,
and
-.Fa fildes
+.Fa fd
is not a valid file descriptor open for writing.
.It Bq Er EDEADLK
The argument
@@ -466,7 +467,7 @@ or
and the data to which
.Fa arg
points is not valid, or
-.Fa fildes
+.Fa fd
refers to a file that does not support locking.
.It Bq Er EMFILE
The argument