summaryrefslogtreecommitdiff
path: root/lib/libc/sys/rename.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit2efeeba554cbd7bdee9cfe17641c8bd335c7972f (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/sys/rename.2
parent3ca4c01eea0e54f4f560aff65f774d6bd0b0b87c (diff)
Notes
Diffstat (limited to 'lib/libc/sys/rename.2')
-rw-r--r--lib/libc/sys/rename.217
1 files changed, 13 insertions, 4 deletions
diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2
index 56572cad00087..67866f6e15cc9 100644
--- a/lib/libc/sys/rename.2
+++ b/lib/libc/sys/rename.2
@@ -135,9 +135,10 @@ and neither the containing directory nor
.Fa from
are owned by the effective user ID.
.It Bq Er EPERM
-The
+The file pointed at by the
.Fa to
-file exists,
+argument
+exists,
the directory containing
.Fa to
is marked sticky,
@@ -149,12 +150,16 @@ Too many symbolic links were encountered in translating either pathname.
.It Bq Er ENOTDIR
A component of either path prefix is not a directory.
.It Bq Er ENOTDIR
+The
.Fa from
+argument
is a directory, but
.Fa to
is not a directory.
.It Bq Er EISDIR
+The
.Fa to
+argument
is a directory, but
.Fa from
is not a directory.
@@ -184,7 +189,9 @@ system.
Path
points outside the process's allocated address space.
.It Bq Er EINVAL
-.Fa From
+The
+.Fa from
+argument
is a parent directory of
.Fa to ,
or an attempt is made to rename
@@ -192,7 +199,9 @@ or an attempt is made to rename
or
.Ql \&.. .
.It Bq Er ENOTEMPTY
-.Fa To
+The
+.Fa to
+argument
is a directory and is not empty.
.El
.Sh SEE ALSO