mirror of https://github.com/mkerrisk/man-pages
rename.2: Make ENOENT description consistent with POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0d244df1c1
commit
3d81b96737
|
@ -29,7 +29,7 @@
|
||||||
.\" Modified Thu Mar 3 09:49:35 2005 by Michael Haardt <michael@moria.de>
|
.\" Modified Thu Mar 3 09:49:35 2005 by Michael Haardt <michael@moria.de>
|
||||||
.\" 2007-03-25, mtk, added various text to DESCRIPTION.
|
.\" 2007-03-25, mtk, added various text to DESCRIPTION.
|
||||||
.\"
|
.\"
|
||||||
.TH RENAME 2 1998-06-04 "Linux" "Linux Programmer's Manual"
|
.TH RENAME 2 2009-03-30 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
rename \- change the name or location of a file
|
rename \- change the name or location of a file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -159,9 +159,17 @@ has the maximum number of links.
|
||||||
.IR oldpath " or " newpath " was too long."
|
.IR oldpath " or " newpath " was too long."
|
||||||
.TP
|
.TP
|
||||||
.B ENOENT
|
.B ENOENT
|
||||||
A directory component in
|
The link named by
|
||||||
.I oldpath " or " newpath
|
.I oldpath
|
||||||
does not exist or is a dangling symbolic link.
|
does not exist;
|
||||||
|
or, a directory component in
|
||||||
|
.I newpath
|
||||||
|
does not exist;
|
||||||
|
or,
|
||||||
|
.I oldpath
|
||||||
|
or
|
||||||
|
.I newpath
|
||||||
|
is an empty string.
|
||||||
.TP
|
.TP
|
||||||
.B ENOMEM
|
.B ENOMEM
|
||||||
Insufficient kernel memory was available.
|
Insufficient kernel memory was available.
|
||||||
|
|
Loading…
Reference in New Issue