Document new EINVAL, EOVERFLOW cases. Sort ERRORS

This commit is contained in:
Andrey A. Chernov 2001-08-21 21:44:48 +00:00
parent 924be33dc3
commit 2d2857f480

View File

@ -118,12 +118,18 @@ will fail and the file position pointer will remain unchanged if:
.It Bq Er EBADF
.Em Fildes
is not an open file descriptor.
.It Bq Er EINVAL
.Fa Whence
is not a proper value
or the resulting file offset would
be negative for a non-character special file.
.It Bq Er EOVERFLOW
The resulting file offset would be a value which cannot be represented
correctly in an object of type
.Fa off_t .
.It Bq Er ESPIPE
.Em Fildes
is associated with a pipe, socket, or FIFO.
.It Bq Er EINVAL
.Fa Whence
is not a proper value.
.El
.Sh SEE ALSO
.Xr dup 2 ,