From bc72aec4d673edfb6108c8c7d60da253e2804013 Mon Sep 17 00:00:00 2001 From: tholo Date: Sat, 12 Apr 1997 18:09:52 +0000 Subject: [PATCH] Be a bit more specific about EINVAL and negative offsets. --- lib/libc/sys/lseek.2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 , -- 2.20.1