summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-31 23:06:28 +0000
committerache <ache@FreeBSD.org>2001-08-31 23:06:28 +0000
commit74812a92b87888257d88bbe188857bca5914ff41 (patch)
tree34cff7371f33dea5d236d9ad57432caf90c80973 /lib
parent5248c9673162a90f6b487fc922bee9b407e9a4c5 (diff)
downloadFreeBSD-src-74812a92b87888257d88bbe188857bca5914ff41.zip
FreeBSD-src-74812a92b87888257d88bbe188857bca5914ff41.tar.gz
Describe EOVERFLOW I implement per POSIX.
Sort ERRORS section
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/stat.226
1 files changed, 17 insertions, 9 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index 50499f7..e6936d3 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -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 ,
OpenPOWER on IntegriCloud