-.\" $OpenBSD: scandir.3,v 1.15 2019/09/02 21:18:41 deraadt Exp $
+.\" $OpenBSD: scandir.3,v 1.16 2021/06/17 18:18:15 jmc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 2 2019 $
+.Dd $Mdocdate: June 17 2021 $
.Dt SCANDIR 3
.Os
.Sh NAME
The argument types for
.Fn alphasort
and for the
-.Fn compar
+.Fa compar
argument to
.Fn scandir
were originally