summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-25 21:29:55 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 03:01:30 +0200
commit8ae107aaaed29032cae3c7a3ff186f2803784409 (patch)
treebec6844fbc4de341587fa357a4d276c74fc2aa1b
parent6b7d08b21e8a1fbd390943ab8e9eb224d76a5c8c (diff)
getipnodebyname.3: SYNOPSIS: Mark as [[deprecated]]
These functions are not anymore in glibc. All other systems call them deprecated. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/getipnodebyname.311
1 files changed, 6 insertions, 5 deletions
diff --git a/man3/getipnodebyname.3 b/man3/getipnodebyname.3
index e57a6ed94..c8e9efa97 100644
--- a/man3/getipnodebyname.3
+++ b/man3/getipnodebyname.3
@@ -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).