summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1997-04-12 18:09:52 +0000
committertholo <tholo@openbsd.org>1997-04-12 18:09:52 +0000
commitbc72aec4d673edfb6108c8c7d60da253e2804013 (patch)
tree01140af79580171f531f9d8888f5be22ffb0403d /lib/libc
parentwaitpid() can return -1 -- give a useful error message if it does. (diff)
downloadwireguard-openbsd-bc72aec4d673edfb6108c8c7d60da253e2804013.tar.xz
wireguard-openbsd-bc72aec4d673edfb6108c8c7d60da253e2804013.zip
Be a bit more specific about EINVAL and negative offsets.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/lseek.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2
index 9a4f2b89753..f32bc5490b7 100644
--- a/lib/libc/sys/lseek.2
+++ b/lib/libc/sys/lseek.2
@@ -120,7 +120,9 @@ 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 or the resulting offset would be negative.
+is not a proper value or the resulting offset would be negative
+on a file system or special device that does not allow negative
+offsets to be used.
.El
.Sh SEE ALSO
.Xr dup 2 ,