EPERM is returned when the file to be removed is a directory and the file

system containing it does not permit the use of unlink(2) on a directory.
Add a missing comma.
This commit is contained in:
kleink 1997-07-01 09:52:53 +00:00
parent da53d70f23
commit 2d5034e643

View File

@ -1,4 +1,4 @@
.\" $NetBSD: unlink.2,v 1.8 1997/05/16 15:31:06 kleink Exp $
.\" $NetBSD: unlink.2,v 1.9 1997/07/01 09:52:53 kleink Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -87,7 +87,10 @@ to be removed.
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
@ -107,7 +110,7 @@ points outside the process's allocated address space.
.Sh SEE ALSO
.Xr close 2 ,
.Xr link 2 ,
.Xr rmdir 2
.Xr rmdir 2 ,
.Xr symlink 7
.Sh STANDARDS
The