mirror of https://github.com/mkerrisk/man-pages
rename.2: grfix: add some commas
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
fe541ffe54
commit
afb3d50c50
|
@ -48,7 +48,7 @@ are also unaffected.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I newpath
|
.I newpath
|
||||||
already exists it will be atomically replaced (subject to
|
already exists, it will be atomically replaced (subject to
|
||||||
a few conditions; see ERRORS below), so that there is
|
a few conditions; see ERRORS below), so that there is
|
||||||
no point at which another process attempting to access
|
no point at which another process attempting to access
|
||||||
.I newpath
|
.I newpath
|
||||||
|
@ -64,7 +64,7 @@ does nothing, and returns a success status.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I newpath
|
.I newpath
|
||||||
exists but the operation fails for some reason
|
exists but the operation fails for some reason,
|
||||||
.BR rename ()
|
.BR rename ()
|
||||||
guarantees to leave an instance of
|
guarantees to leave an instance of
|
||||||
.I newpath
|
.I newpath
|
||||||
|
@ -85,9 +85,9 @@ refer to the file being renamed.
|
||||||
|
|
||||||
If
|
If
|
||||||
.I oldpath
|
.I oldpath
|
||||||
refers to a symbolic link the link is renamed; if
|
refers to a symbolic link, the link is renamed; if
|
||||||
.I newpath
|
.I newpath
|
||||||
refers to a symbolic link the link will be overwritten.
|
refers to a symbolic link, the link will be overwritten.
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
On success, zero is returned.
|
On success, zero is returned.
|
||||||
On error, \-1 is returned, and
|
On error, \-1 is returned, and
|
||||||
|
@ -233,7 +233,7 @@ even if the same filesystem is mounted on both.)
|
||||||
4.3BSD, C89, C99, POSIX.1-2001.
|
4.3BSD, C89, C99, POSIX.1-2001.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
On NFS filesystems, you can not assume that if the operation
|
On NFS filesystems, you can not assume that if the operation
|
||||||
failed the file was not renamed.
|
failed, the file was not renamed.
|
||||||
If the server does the rename operation
|
If the server does the rename operation
|
||||||
and then crashes, the retransmitted RPC which will be processed when the
|
and then crashes, the retransmitted RPC which will be processed when the
|
||||||
server is up again causes a failure.
|
server is up again causes a failure.
|
||||||
|
|
Loading…
Reference in New Issue