From: Alejandro Colomar Date: Mon, 25 Oct 2021 19:29:55 +0000 (+0200) Subject: getipnodebyname.3: SYNOPSIS: Mark as [[deprecated]] X-Git-Tag: man-pages-6.00~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ae107aaaed29032cae3c7a3ff186f2803784409;p=thirdparty%2Fman-pages.git getipnodebyname.3: SYNOPSIS: Mark as [[deprecated]] These functions are not anymore in glibc. All other systems call them deprecated. Signed-off-by: Alejandro Colomar --- diff --git a/man3/getipnodebyname.3 b/man3/getipnodebyname.3 index e57a6ed943..c8e9efa979 100644 --- a/man3/getipnodebyname.3 +++ b/man3/getipnodebyname.3 @@ -16,11 +16,12 @@ Standard C library .B #include .B #include .PP -.BI "struct hostent *getipnodebyname(const char *" name ", int " af , -.BI " int " flags ", int *" error_num ); -.BI "struct hostent *getipnodebyaddr(const void *" addr ", size_t " len , -.BI " int " af ", int *" "error_num" ); -.BI "void freehostent(struct hostent *" "ip" ); +.BI "[[deprecated]] struct hostent *getipnodebyname(const char *" name ", int " af , +.BI " int " flags ", int *" error_num ); +.BI "[[deprecated]] struct hostent *getipnodebyaddr(const void *" addr , +.BI " size_t " len ", int " af , +.BI " int *" "error_num" ); +.BI "[[deprecated]] void freehostent(struct hostent *" "ip" ); .fi .SH DESCRIPTION These functions are deprecated (and unavailable in glibc).