Module Name: src
Committed By: wiz
Date: Wed May 13 12:51:13 UTC 2009
Modified Files:
src/lib/libc/sys: stat.2
Log Message:
Sort errors. Avoid marking up punctuation.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/sys/stat.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/stat.2
diff -u src/lib/libc/sys/stat.2:1.37 src/lib/libc/sys/stat.2:1.38
--- src/lib/libc/sys/stat.2:1.37 Wed Mar 11 13:39:14 2009
+++ src/lib/libc/sys/stat.2 Wed May 13 12:51:13 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat.2,v 1.37 2009/03/11 13:39:14 joerg Exp $
+.\" $NetBSD: stat.2,v 1.38 2009/05/13 12:51:13 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -260,34 +260,34 @@
.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
-.Dv {NAME_MAX}
-characters, or an entire path name exceeded
-.Dv {PATH_MAX}
-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 EBADF
+A badly formed v-node was encountered.
+This can happen if a file system information node is incorrect.
.It Bq Er EFAULT
.Fa sb
or
.Em name
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
+.Dv { NAME_MAX }
+characters, or an entire path name exceeded
+.Dv { PATH_MAX }
+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 ENXIO
The named file is a character special or block
special file, and the device associated with this special file
does not exist.
-.It Bq Er EIO
-An I/O error occurred while reading from or writing to the file system.
-.It Bq Er EBADF
-A badly formed v-node was encountered.
-This can happen if a file system information node is incorrect.
.El
.Pp
.Fn fstat