git: 628b801a8d34 - stable/13 - Link scandir_b(3) to scandir(3)

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 31 Aug 2022 01:32:22 UTC
The branch stable/13 has been updated by kib:

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

commit 628b801a8d34d7078148d7d1d94a278ece6836ac
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-08-23 03:42:33 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-08-31 01:20:28 +0000

    Link scandir_b(3) to scandir(3)
    
    (cherry picked from commit ea448a0a43c501abdb6fa3acd93ae787b6eb8d9c)
---
 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 fd8a0feeb748..616390ea8559 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