mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
Describe EOVERFLOW I implement per POSIX.
Sort ERRORS section
This commit is contained in:
parent
2a4684aa19
commit
aed591bb15
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82705
@ -218,17 +218,8 @@ and
|
||||
.Fn lstat
|
||||
will fail if:
|
||||
.Bl -tag -width Er
|
||||
.It Bq Er ENOTDIR
|
||||
A component of the path prefix is not a directory.
|
||||
.It Bq Er ENAMETOOLONG
|
||||
A component of a pathname exceeded 255 characters,
|
||||
or an entire path name exceeded 1023 characters.
|
||||
.It Bq Er ENOENT
|
||||
The named file does not exist.
|
||||
.It Bq Er EACCES
|
||||
Search permission is denied for a component of the path prefix.
|
||||
.It Bq Er ELOOP
|
||||
Too many symbolic links were encountered in translating the pathname.
|
||||
.It Bq Er EFAULT
|
||||
.Fa sb
|
||||
or
|
||||
@ -236,6 +227,19 @@ or
|
||||
points to an invalid address.
|
||||
.It Bq Er EIO
|
||||
An I/O error occurred while reading from or writing to the file system.
|
||||
.It Bq Er ELOOP
|
||||
Too many symbolic links were encountered in translating the pathname.
|
||||
.It Bq Er ENAMETOOLONG
|
||||
A component of a pathname exceeded 255 characters,
|
||||
or an entire path name exceeded 1023 characters.
|
||||
.It Bq Er ENOENT
|
||||
The named file does not exist.
|
||||
.It Bq Er ENOTDIR
|
||||
A component of the path prefix is not a directory.
|
||||
.It Bq Er EOVERFLOW
|
||||
The file size in bytes cannot be
|
||||
represented correctly in the structure pointed to by
|
||||
.Fa sb .
|
||||
.El
|
||||
.Pp
|
||||
.Bl -tag -width Er
|
||||
@ -249,6 +253,10 @@ is not a valid open file descriptor.
|
||||
points to an invalid address.
|
||||
.It Bq Er EIO
|
||||
An I/O error occurred while reading from or writing to the file system.
|
||||
.It Bq Er EOVERFLOW
|
||||
The file size in bytes cannot be
|
||||
represented correctly in the structure pointed to by
|
||||
.Fa sb .
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr access 2 ,
|
||||
|
Loading…
Reference in New Issue
Block a user