Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Fix punctuation formatting and sort errors.



details:   https://anonhg.NetBSD.org/src/rev/58d60d8aca13
branches:  trunk
changeset: 788909:58d60d8aca13
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Jul 28 09:27:07 2013 +0000

description:
Fix punctuation formatting and sort errors.

diffstat:

 lib/libc/sys/rename.2 |  110 +++++++++++++++++++++++++-------------------------
 1 files changed, 55 insertions(+), 55 deletions(-)

diffs (155 lines):

diff -r 2b566ba39c3c -r 58d60d8aca13 lib/libc/sys/rename.2
--- a/lib/libc/sys/rename.2     Sun Jul 28 09:07:55 2013 +0000
+++ b/lib/libc/sys/rename.2     Sun Jul 28 09:27:07 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: rename.2,v 1.30 2013/07/28 09:07:55 njoly Exp $
+.\"    $NetBSD: rename.2,v 1.31 2013/07/28 09:27:07 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -93,11 +93,11 @@
 descriptor was passed as
 .Fa fromfd
 (resp.
-.Fa tofd ).
+.Fa tofd ) .
 Search permission is required on the directories named by
 .Fa fromfd
 and
-.Fa tofd.
+.Fa tofd .
 .\"    (These alternatives await a decision about the semantics of O_SEARCH)
 .\" Search permission is required on the directories named by
 .\" .Fa fromfd
@@ -131,6 +131,42 @@
 will fail and neither of the argument files will be
 affected if:
 .Bl -tag -width Er
+.It Bq Er EACCES
+A component of either path prefix denies search permission, or
+the requested link requires writing in a directory with a mode
+that denies write permission.
+.It Bq Er EBUSY
+.Fa from
+or
+.Fa to
+is the mount point for a mounted file system.
+.It Bq Er EDQUOT
+The directory in which the entry for the new name
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted.
+.It Bq Er EFAULT
+.Fa from
+or
+.Fa to
+points outside the process's allocated address space.
+.It Bq Er EINVAL
+.Fa from
+is a parent directory of
+.Fa to ,
+or an attempt is made to rename
+.Ql \&.
+or
+.Ql \&.. .
+.It Bq Er EIO
+An I/O error occurred while making or updating a directory entry.
+.It Bq Er EISDIR
+.Fa to
+is a directory, but
+.Fa from
+is not a directory.
+.It Bq Er ELOOP
+Too many symbolic links were encountered in translating either pathname.
 .It Bq Er ENAMETOOLONG
 A component of a pathname exceeded
 .Brq Dv NAME_MAX
@@ -144,10 +180,19 @@
 or a path prefix of
 .Fa to
 does not exist.
-.It Bq Er EACCES
-A component of either path prefix denies search permission, or
-the requested link requires writing in a directory with a mode
-that denies write permission.
+.It Bq Er ENOSPC
+The directory in which the entry for the new name is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+.It Bq Er ENOTDIR
+A component of either path prefix is not a directory, or
+.Fa from
+is a directory, but
+.Fa to
+is not a directory.
+.It Bq Er ENOTEMPTY
+.Fa to
+is a directory and is not empty.
 .It Bq Er EPERM
 The directory containing
 .Fa from
@@ -164,19 +209,9 @@
 and neither the containing directory nor
 .Fa to
 are owned by the effective user ID.
-.It Bq Er ELOOP
-Too many symbolic links were encountered in translating either pathname.
-.It Bq Er ENOTDIR
-A component of either path prefix is not a directory, or
-.Fa from
-is a directory, but
-.Fa to
-is not a directory.
-.It Bq Er EISDIR
-.Fa to
-is a directory, but
-.Fa from
-is not a directory.
+.It Bq Er EROFS
+The requested link requires writing in a directory on a read-only file
+system.
 .It Bq Er EXDEV
 The link named by
 .Fa to
@@ -185,41 +220,6 @@
 are on different logical devices (file systems).
 Note that this error code will not be returned if the implementation
 permits cross-device links.
-.It Bq Er ENOSPC
-The directory in which the entry for the new name is being placed
-cannot be extended because there is no space left on the file
-system containing the directory.
-.It Bq Er EDQUOT
-The directory in which the entry for the new name
-is being placed cannot be extended because the
-user's quota of disk blocks on the file system
-containing the directory has been exhausted.
-.It Bq Er EIO
-An I/O error occurred while making or updating a directory entry.
-.It Bq Er EROFS
-The requested link requires writing in a directory on a read-only file
-system.
-.It Bq Er EFAULT
-.Fa from
-or
-.Fa to
-points outside the process's allocated address space.
-.It Bq Er EINVAL
-.Fa from
-is a parent directory of
-.Fa to ,
-or an attempt is made to rename
-.Ql \&.
-or
-.Ql \&.. .
-.It Bq Er ENOTEMPTY
-.Fa to
-is a directory and is not empty.
-.It Bq Er EBUSY
-.Fa from
-or
-.Fa to
-is the mount point for a mounted file system.
 .El
 .Sh SEE ALSO
 .Xr open 2 ,



Home | Main Index | Thread Index | Old Index