From 0fcb9c0939b1f122a7164c56b51036946b27a1aa Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 23 Aug 2001 19:00:34 +0000 Subject: Now we implement l_len<0 per POSIX, describe it. --- lib/libc/sys/fcntl.2 | 7 ++++--- 1 file 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 -- cgit v1.1