]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getipnodebyname.3: SYNOPSIS: Mark as [[deprecated]]
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 25 Oct 2021 19:29:55 +0000 (21:29 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 5 Sep 2022 01:01:30 +0000 (03:01 +0200)
These functions are not anymore in glibc.  All other systems
call them deprecated.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/getipnodebyname.3

index e57a6ed943ab26683a1cd6beeda913847750d580..c8e9efa979d60755f99658d57497d5c356f3520d 100644 (file)
@@ -16,11 +16,12 @@ Standard C library
 .B #include <sys/socket.h>
 .B #include <netdb.h>
 .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).