From bea3448c25acee655a7ebfc465680cb8750da5dc Mon Sep 17 00:00:00 2001 From: tholo Date: Sat, 5 Apr 1997 05:07:58 +0000 Subject: [PATCH] Document that negative offsets will cause EINVAL as well. --- lib/libc/sys/lseek.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 , -- 2.20.1