summaryrefslogtreecommitdiff
path: root/lib/libc/sys/lseek.2
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1997-04-05 05:07:59 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1997-04-05 05:07:59 +0000
commit152f2c4ce1cabc6180e12ba57ff54d68023d9472 (patch)
tree44947487e27861d1c113c8faae1a0e09a3a20e34 /lib/libc/sys/lseek.2
parent664f0290d78338a2d6f6e1cf7920934f5fd3a6fb (diff)
Document that negative offsets will cause EINVAL as well.
Diffstat (limited to 'lib/libc/sys/lseek.2')
-rw-r--r--lib/libc/sys/lseek.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2
index 09374f76419..9a4f2b89753 100644
--- a/lib/libc/sys/lseek.2
+++ b/lib/libc/sys/lseek.2
@@ -120,7 +120,7 @@ is not an open file descriptor.
is associated with a pipe, socket, or FIFO.
.It Bq Er EINVAL
.Fa Whence
-is not a proper value.
+is not a proper value or the resulting offset would be negative.
.El
.Sh SEE ALSO
.Xr dup 2 ,