diff options
author | ache <ache@FreeBSD.org> | 2001-08-23 19:00:34 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-23 19:00:34 +0000 |
commit | 0fcb9c0939b1f122a7164c56b51036946b27a1aa (patch) | |
tree | 45982be0025cd0b994f53eab3133be1c79f32ae4 | |
parent | ce0c7adaa6ab54a651cb3c521935efce0892389a (diff) | |
download | FreeBSD-src-0fcb9c0939b1f122a7164c56b51036946b27a1aa.zip FreeBSD-src-0fcb9c0939b1f122a7164c56b51036946b27a1aa.tar.gz |
Now we implement l_len<0 per POSIX, describe it.
-rw-r--r-- | lib/libc/sys/fcntl.2 | 7 |
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 |