git: ea448a0a43c5 - main - Link scandir_b(3) to scandir(3)

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 24 Aug 2022 19:44:05 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=ea448a0a43c501abdb6fa3acd93ae787b6eb8d9c

commit ea448a0a43c501abdb6fa3acd93ae787b6eb8d9c
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-08-23 03:42:33 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-08-24 19:26:00 +0000

    Link scandir_b(3) to scandir(3)
    
    Reviewed by:    emaste, gbe (man pages), imp, kevans, markj, Aymeric Wibo <obiwac@gmail.com>
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D36301
---
 lib/libc/gen/Makefile.inc | 3 ++-
 lib/libc/gen/scandir.3    | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 395edefc0503..161c061a1742 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -493,7 +493,8 @@ MLINKS+=rand48.3 _rand48.3 \
 	rand48.3 seed48.3 \
 	rand48.3 srand48.3
 MLINKS+=recv.2 recvmmsg.2
-MLINKS+=scandir.3 alphasort.3
+MLINKS+=scandir.3 alphasort.3 \
+	scandir.3 scandir_b.3
 MLINKS+=sem_open.3 sem_close.3 \
 	sem_open.3 sem_unlink.3
 MLINKS+=sem_wait.3 sem_trywait.3
diff --git a/lib/libc/gen/scandir.3 b/lib/libc/gen/scandir.3
index d30e4d485785..47057fc647fc 100644
--- a/lib/libc/gen/scandir.3
+++ b/lib/libc/gen/scandir.3
@@ -33,6 +33,7 @@
 .Os
 .Sh NAME
 .Nm scandir ,
+.Nm scandir_b ,
 .Nm alphasort
 .Nd scan a directory
 .Sh LIBRARY