summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-03 17:50:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-07-03 17:50:37 +0000
commit6ba83be00861c21a6c52f26a4b8c906dcac2239d (patch)
tree436f8163486f82a447d996bc91915e5647ccc353 /lib/libc
parentc60204b5e10d8e419fc74f36b370db40b157062f (diff)
doc EPERM properly; kleink
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/unlink.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2
index 145a4818b7c..810d0338e3c 100644
--- a/lib/libc/sys/unlink.2
+++ b/lib/libc/sys/unlink.2
@@ -88,6 +88,10 @@ Too many symbolic links were encountered in translating the pathname.
.It Bq Er EPERM
The named file is a directory and the effective user ID
of the process is not the super-user.
+of the process is not the super-user, or the file system
+containing the file does not permit the use of
+.Fn unlink
+on a directory.
.It Bq Er EPERM
The directory containing the file is marked sticky,
and neither the containing directory nor the file to be removed