Explain it is a negative offset that EINVAL may indicate.

Now readers won't get an impression that pointing to beyond
the current end of file will result in EINVAL.

MFC after:	1 week
This commit is contained in:
Yaroslav Tykhiy 2004-10-16 09:53:35 +00:00
parent 6def5837f5
commit 9a0cabd9e4
2 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@
.\" @(#)read.2 8.4 (Berkeley) 2/26/94
.\" $FreeBSD$
.\"
.Dd February 26, 1994
.Dd October 16, 2004
.Dt READ 2
.Os
.Sh NAME
@ -215,7 +215,7 @@ The
system call may also return the following errors:
.Bl -tag -width Er
.It Bq Er EINVAL
The specified file offset is invalid.
The specified file offset is invalid, i.e. negative.
.It Bq Er ESPIPE
The file descriptor is associated with a pipe, socket, or FIFO.
.El

View File

@ -32,7 +32,7 @@
.\" @(#)write.2 8.5 (Berkeley) 4/2/94
.\" $FreeBSD$
.\"
.Dd April 2, 1994
.Dd October 16, 2004
.Dt WRITE 2
.Os
.Sh NAME
@ -231,7 +231,7 @@ The
system call may also return the following errors:
.Bl -tag -width Er
.It Bq Er EINVAL
The specified file offset is invalid.
The specified file offset is invalid, i.e. negative.
.It Bq Er ESPIPE
The file descriptor is associated with a pipe, socket, or FIFO.
.El