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>
|
||||
.\" 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
|
||||
rename \- change the name or location of a file
|
||||
.SH SYNOPSIS
|
||||
|
@ -159,9 +159,17 @@ has the maximum number of links.
|
|||
.IR oldpath " or " newpath " was too long."
|
||||
.TP
|
||||
.B ENOENT
|
||||
A directory component in
|
||||
.I oldpath " or " newpath
|
||||
does not exist or is a dangling symbolic link.
|
||||
The link named by
|
||||
.I oldpath
|
||||
does not exist;
|
||||
or, a directory component in
|
||||
.I newpath
|
||||
does not exist;
|
||||
or,
|
||||
.I oldpath
|
||||
or
|
||||
.I newpath
|
||||
is an empty string.
|
||||
.TP
|
||||
.B ENOMEM
|
||||
Insufficient kernel memory was available.
|
||||
|
|
Loading…
Reference in New Issue