diff options
author | ache <ache@FreeBSD.org> | 2001-08-21 21:44:48 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-21 21:44:48 +0000 |
commit | c7e44d09095423fbd2245197a66292d88a91787c (patch) | |
tree | 8f6738b560a7991f878bf58bb9a4a4a2777e7940 /lib | |
parent | 459feba22a7ac01ef4f68ba4d2e441b052c7f09b (diff) | |
download | FreeBSD-src-c7e44d09095423fbd2245197a66292d88a91787c.zip FreeBSD-src-c7e44d09095423fbd2245197a66292d88a91787c.tar.gz |
Document new EINVAL, EOVERFLOW cases. Sort ERRORS
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/lseek.2 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2 index 362485b..4f3f430 100644 --- a/lib/libc/sys/lseek.2 +++ b/lib/libc/sys/lseek.2 @@ -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 , |