summaryrefslogtreecommitdiff
path: root/lib/libc/sys/lseek.2
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1997-04-12 18:09:53 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1997-04-12 18:09:53 +0000
commit112afc9f4da03b4af9cccc8e6866532aa695e881 (patch)
treec78141f35c458abd3093e559844d0a3fdfab578f /lib/libc/sys/lseek.2
parent47eaece550c09beae070603be304c6f7074ec323 (diff)
Be a bit more specific about EINVAL and negative offsets.
Diffstat (limited to 'lib/libc/sys/lseek.2')
-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 ,