artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be5e86
)
Document that negative offsets will cause EINVAL as well.
author
tholo
<tholo@openbsd.org>
Sat, 5 Apr 1997 05:07:58 +0000
(
05:07
+0000)
committer
tholo
<tholo@openbsd.org>
Sat, 5 Apr 1997 05:07:58 +0000
(
05:07
+0000)
lib/libc/sys/lseek.2
patch
|
blob
|
history
diff --git
a/lib/libc/sys/lseek.2
b/lib/libc/sys/lseek.2
index
09374f7
..
9a4f2b8
100644
(file)
--- 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 ,