mirror of https://github.com/mkerrisk/man-pages
Correct wording of EBUSY case.
Add ".." case to ENOTEMPTY error
This commit is contained in:
parent
4c5dd86906
commit
ade10f9902
14
man2/rmdir.2
14
man2/rmdir.2
|
@ -54,7 +54,12 @@ did not allow search permission.
|
|||
.TP
|
||||
.B EBUSY
|
||||
.I pathname
|
||||
is the current working directory or root directory of some process.
|
||||
is currently in use by the system or some process that prevents its
|
||||
removal.
|
||||
On Linux this means
|
||||
.I pathname
|
||||
is currently used as a mount point
|
||||
or is the root directory of the calling process.
|
||||
.TP
|
||||
.B EFAULT
|
||||
.IR pathname " points outside your accessible address space."
|
||||
|
@ -89,7 +94,12 @@ is not, in fact, a directory.
|
|||
.B ENOTEMPTY
|
||||
.I pathname
|
||||
contains entries other than
|
||||
.IR . " and " .. " ."
|
||||
.IR . " and " .. " ;"
|
||||
or,
|
||||
.I pathname
|
||||
has
|
||||
.IR ..
|
||||
as its final component.
|
||||
.TP
|
||||
.B EPERM
|
||||
The directory containing
|
||||
|
|
Loading…
Reference in New Issue