summaryrefslogtreecommitdiffstats
path: root/man3/getnameinfo.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/getnameinfo.3')
-rw-r--r--man3/getnameinfo.342
1 files changed, 21 insertions, 21 deletions
diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3
index 16c202fc4..25c779213 100644
--- a/man3/getnameinfo.3
+++ b/man3/getnameinfo.3
@@ -30,7 +30,7 @@ Standard C library
.P
.RS -4
Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
+.MR feature_test_macros 7 ):
.RE
.P
.BR getnameinfo ():
@@ -44,13 +44,13 @@ Feature Test Macro Requirements for glibc (see
The
.BR getnameinfo ()
function is the inverse of
-.BR getaddrinfo (3):
+.MR getaddrinfo 3 :
it converts a socket address to a corresponding host and service,
in a protocol-independent manner.
It combines the functionality of
-.BR gethostbyaddr (3)
+.MR gethostbyaddr 3
and
-.BR getservbyport (3),
+.MR getservbyport 3 ,
but unlike those functions,
.BR getnameinfo ()
is reentrant and allows programs to eliminate
@@ -204,7 +204,7 @@ The error code can be found in
.IR errno .
.P
The
-.BR gai_strerror (3)
+.MR gai_strerror 3
function translates these error codes to a human readable string,
suitable for error reporting.
.SH FILES
@@ -215,7 +215,7 @@ suitable for error reporting.
.I /etc/resolv.conf
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -309,22 +309,22 @@ else
An example program using
.BR getnameinfo ()
can be found in
-.BR getaddrinfo (3).
+.MR getaddrinfo 3 .
.SH SEE ALSO
-.BR accept (2),
-.BR getpeername (2),
-.BR getsockname (2),
-.BR recvfrom (2),
-.BR socket (2),
-.BR getaddrinfo (3),
-.BR gethostbyaddr (3),
-.BR getservbyname (3),
-.BR getservbyport (3),
-.BR inet_ntop (3),
-.BR hosts (5),
-.BR services (5),
-.BR hostname (7),
-.BR named (8)
+.MR accept 2 ,
+.MR getpeername 2 ,
+.MR getsockname 2 ,
+.MR recvfrom 2 ,
+.MR socket 2 ,
+.MR getaddrinfo 3 ,
+.MR gethostbyaddr 3 ,
+.MR getservbyname 3 ,
+.MR getservbyport 3 ,
+.MR inet_ntop 3 ,
+.MR hosts 5 ,
+.MR services 5 ,
+.MR hostname 7 ,
+.MR named 8
.P
R.\& Gilligan, S.\& Thomson, J.\& Bound and W.\& Stevens,
.IR "Basic Socket Interface Extensions for IPv6" ,