Remov comma from the last Nm entry

Use Xr instead of Fn to refer rmdir(2)
Fix couple of sentences
This commit is contained in:
abhinav 2017-03-30 18:54:26 +00:00
parent 0af8949ce2
commit 21edcefd45

View File

@ -1,4 +1,4 @@
.\" $NetBSD: unlink.2,v 1.28 2013/07/28 13:53:04 njoly Exp $
.\" $NetBSD: unlink.2,v 1.29 2017/03/30 18:54:26 abhinav Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -34,7 +34,7 @@
.Os
.Sh NAME
.Nm unlink ,
.Nm unlinkat ,
.Nm unlinkat
.Nd remove directory entry
.Sh LIBRARY
.Lb libc
@ -89,7 +89,7 @@ in order to specify the current directory.
.Pp
.Fn unlinkat
will remove directories just like
.Fn rmdir
.Xr rmdir 2 ,
provided
.Dv AT_REMOVEDIR
is set in
@ -101,7 +101,7 @@ The
.Fn unlink
and
.Fn unlinkat
succeeds unless:
functions succeed unless:
.Bl -tag -width Er
.It Bq Er EACCES
Search permission is denied for a component of the path prefix, or