summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/unlink.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/unlink.2')
-rw-r--r--lib/libc/sys/unlink.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2
index 61a2de1..6050b39 100644
--- a/lib/libc/sys/unlink.2
+++ b/lib/libc/sys/unlink.2
@@ -59,7 +59,9 @@ all resources associated with the file are reclaimed.
If one or more process have the file open when the last link is removed,
the link is removed, but the removal of the file is delayed until
all references to it have been closed.
+The
.Fa path
+argument
may not be a directory.
.Sh RETURN VALUES
.Rv -std unlink
@@ -97,7 +99,9 @@ or deallocating the inode.
.It Bq Er EROFS
The named file resides on a read-only file system.
.It Bq Er EFAULT
-.Fa Path
+The
+.Fa path
+argument
points outside the process's allocated address space.
.El
.Sh SEE ALSO
OpenPOWER on IntegriCloud