summaryrefslogtreecommitdiffstats
path: root/man3/getaddrinfo_a.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/getaddrinfo_a.3')
-rw-r--r--man3/getaddrinfo_a.336
1 files changed, 18 insertions, 18 deletions
diff --git a/man3/getaddrinfo_a.3 b/man3/getaddrinfo_a.3
index e7792fd76..a74b65769 100644
--- a/man3/getaddrinfo_a.3
+++ b/man3/getaddrinfo_a.3
@@ -32,7 +32,7 @@ Asynchronous name lookup library
The
.BR getaddrinfo_a ()
function performs the same task as
-.BR getaddrinfo (3),
+.MR getaddrinfo 3 ,
but allows multiple name look-ups to be performed asynchronously,
with optional notification on completion of look-up operations.
.P
@@ -79,7 +79,7 @@ struct gaicb {
.in
.P
The elements of this structure correspond to the arguments of
-.BR getaddrinfo (3).
+.MR getaddrinfo 3 .
Thus,
.I ar_name
corresponds to the
@@ -105,7 +105,7 @@ is resolved.
The
.I addrinfo
structure referenced by the last two elements is described in
-.BR getaddrinfo (3).
+.MR getaddrinfo 3 .
.P
When
.I mode
@@ -118,7 +118,7 @@ structure pointed to by the
.I sevp
argument.
For the definition and general details of this structure, see
-.BR sigevent (3type).
+.MR sigevent 3type .
The
.I sevp\->sigev_notify
field can have the following values:
@@ -131,7 +131,7 @@ When a look-up completes, generate the signal
.I sigev_signo
for the process.
See
-.BR sigevent (3type)
+.MR sigevent 3type
for general details.
The
.I si_code
@@ -147,7 +147,7 @@ When a look-up completes, invoke
.I sigev_notify_function
as if it were the start function of a new thread.
See
-.BR sigevent (3type)
+.MR sigevent 3type
for details.
.P
For
@@ -180,7 +180,7 @@ The time interval specified in
.I timeout
elapses.
This argument specifies a timeout in seconds plus nanoseconds (see
-.BR nanosleep (2)
+.MR nanosleep 2
for details of the
.I timespec
structure).
@@ -261,7 +261,7 @@ function can return
for an unfinished look-up request,
0 for a successfully completed look-up
(as described above), one of the error codes that could be returned by
-.BR getaddrinfo (3),
+.MR getaddrinfo 3 ,
or the error code
.B EAI_CANCELED
if the request has been canceled explicitly before it could be finished.
@@ -280,12 +280,12 @@ The request has not been canceled.
The request has already completed.
.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 ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -308,7 +308,7 @@ glibc 2.2.3.
The interface of
.BR getaddrinfo_a ()
was modeled after the
-.BR lio_listio (3)
+.MR lio_listio 3
interface.
.SH EXAMPLES
Two examples are provided: a simple example that resolves
@@ -317,7 +317,7 @@ showing some of the asynchronous capabilities.
.SS Synchronous example
The program below simply resolves several hostnames in parallel,
giving a speed-up compared to resolving the hostnames sequentially using
-.BR getaddrinfo (3).
+.MR getaddrinfo 3 .
The program might be used like this:
.P
.in +4n
@@ -637,9 +637,9 @@ main(void)
.EE
.\" SRC END
.SH SEE ALSO
-.BR getaddrinfo (3),
-.BR inet (3),
-.BR lio_listio (3),
-.BR hostname (7),
-.BR ip (7),
-.BR sigevent (3type)
+.MR getaddrinfo 3 ,
+.MR inet 3 ,
+.MR lio_listio 3 ,
+.MR hostname 7 ,
+.MR ip 7 ,
+.MR sigevent 3type