These four functions are all referenced by nsswitch.conf.5, but they have no man pages. They were added back in r157779, 2006. gethostbyaddr_r, gethostbyname_r, getnetbyaddr_r, getnetbyname_r
https://reviews.freebsd.org/D30385 https://reviews.freebsd.org/D30469
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=dc68997328ec6cec41ad3b818c1846c8217e0c68 commit dc68997328ec6cec41ad3b818c1846c8217e0c68 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2021-05-21 15:25:25 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-06-20 05:23:53 +0000 getnetent(3): Add missing reentrant functions Add documentation for gethostbyname_r, gethostbyname2_r and gethostbyaddr_r Create proper MLINKs for the new functions. PR: 249154 Reported by: asomers@ Approved by: manpages (0mp@), Pau Amma Differential Revision: https://reviews.freebsd.org/D30469 lib/libc/net/Makefile.inc | 7 ++++--- lib/libc/net/gethostbyname.3 | 33 +++++++++++++++++++++++++++++++-- 2 files changed, 35 insertions(+), 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9acb1d7b2c932c48c64345c589c0e0733c7918fd commit 9acb1d7b2c932c48c64345c589c0e0733c7918fd Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2021-05-26 12:34:49 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-06-20 05:30:38 +0000 getnetent(3): Add documentation for missing reentrant functions Add gethostbyname_r, gethostbyname2_r and gethostbyaddr_r signatures and descriptions. PR: 249154 Reported by: asomers@ Approved by: manpages (imp@), Pau Amma Differential Revision: https://reviews.freebsd.org/D30385 lib/libc/net/Makefile.inc | 4 +++- lib/libc/net/getnetent.3 | 28 +++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-)
Fixed. Thanks!
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a3c3c02244f4fe4c77c034ca3846b410dbbb1091 commit a3c3c02244f4fe4c77c034ca3846b410dbbb1091 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2021-05-21 15:25:25 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-09-24 08:12:08 +0000 getnetent(3): Add missing reentrant functions Add documentation for gethostbyname_r, gethostbyname2_r and gethostbyaddr_r Create proper MLINKs for the new functions. PR: 249154 Reported by: asomers@ Approved by: manpages (0mp@), Pau Amma Differential Revision: https://reviews.freebsd.org/D30469 (cherry picked from commit dc68997328ec6cec41ad3b818c1846c8217e0c68) lib/libc/net/Makefile.inc | 7 ++++--- lib/libc/net/gethostbyname.3 | 33 +++++++++++++++++++++++++++++++-- 2 files changed, 35 insertions(+), 5 deletions(-)