summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-31 23:06:28 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-31 23:06:28 +0000
commitaed591bb15d7d687d14facf47762bdc6f8d3bce5 (patch)
tree34cff7371f33dea5d236d9ad57432caf90c80973
parent2a4684aa19d3750677510532147bccb3a08cf9e0 (diff)
Notes
-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 50499f73aff2..e6936d3e3831 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 ,