summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/fcntl.27
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 03a097d..d22473b 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -249,6 +249,9 @@ current position, or end of the file, respectively.
The value of
.Fa l_len
is the number of consecutive bytes to be locked.
+If
+.Fa l_len
+is negative, start means end edge of the region.
The
.Fa l_pid
field is only used with
@@ -471,9 +474,7 @@ or
.Dv F_SETLKW
and the data to which
.Fa arg
-points is not valid or
-.Fa l_len
-is negative.
+points is not valid.
.It Bq Er EMFILE
The argument
.Fa cmd
OpenPOWER on IntegriCloud