From: tholo Date: Sat, 12 Apr 1997 18:09:52 +0000 (+0000) Subject: Be a bit more specific about EINVAL and negative offsets. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bc72aec4d673edfb6108c8c7d60da253e2804013;p=openbsd Be a bit more specific about EINVAL and negative offsets. --- 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 ,