aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_gethostbyaddr.315
-rw-r--r--ares/ares_gethostbyname.316
2 files changed, 13 insertions, 18 deletions
diff --git a/ares/ares_gethostbyaddr.3 b/ares/ares_gethostbyaddr.3
index 76403ddad..e3fc3c522 100644
--- a/ares/ares_gethostbyaddr.3
+++ b/ares/ares_gethostbyaddr.3
@@ -40,14 +40,10 @@ and
.I addrlen
give the address as a series of bytes, and
.I family
-gives the type of address. When the query is complete or has failed,
-the ares library will invoke
-.IR callback .
-Completion or failure of the query may happen immediately, or may
-happen during a later call to
-.BR ares_process (3)
-or
-.BR ares_destroy (3).
+gives the type of address. When the query is complete or has failed, the ares
+library will invoke \fIcallback\fP. Completion or failure of the query may
+happen immediately, or may happen during a later call to
+\fIares_process(3)\fP, \fIares_destroy(3)\fP or \fIares_cancel(3)\fP.
.PP
The callback argument
.I arg
@@ -93,7 +89,8 @@ did not complete successfully,
will be
.BR NULL .
.SH SEE ALSO
-.BR ares_process (3)
+.BR ares_process (3),
+.BR ares_gethostbyname (3)
.SH AUTHOR
Greg Hudson, MIT Information Systems
.br
diff --git a/ares/ares_gethostbyname.3 b/ares/ares_gethostbyname.3
index 9f5b07e34..680b213f3 100644
--- a/ares/ares_gethostbyname.3
+++ b/ares/ares_gethostbyname.3
@@ -37,14 +37,11 @@ The parameter
.I name
gives the hostname as a NUL-terminated C string, and
.I family
-gives the desired type of address for the resulting host entry. When
-the query is complete or has failed, the ares library will invoke
-.IR callback .
-Completion or failure of the query may happen immediately, or may
-happen during a later call to
-.BR ares_process (3)
-or
-.BR ares_destroy (3).
+gives the desired type of address for the resulting host entry. When the
+query is complete or has failed, the ares library will invoke \fIcallback\fP.
+Completion or failure of the query may happen immediately, or may happen
+during a later call to \fIares_process(3)\fP, \fIares_destroy(3)\fP or
+\fIares_cancel(3)\fP.
.PP
The callback argument
.I arg
@@ -96,7 +93,8 @@ did not complete successfully,
will be
.BR NULL .
.SH SEE ALSO
-.BR ares_process (3)
+.BR ares_process (3),
+.BR ares_gethostbyaddr (3)
.SH AUTHOR
Greg Hudson, MIT Information Systems
.br