aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-02 09:56:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-02 09:56:01 +0000
commitc39a54609ba992fdf04acbb5bc57d6365593f9ba (patch)
treec7d79a10b7d2eac5772332e3e2f36ea9a0018e2f /ares
parentce6b767b47163d3d5bc0f301abc19b65ae3b11e1 (diff)
edits, mainly to make the generated html output nicer
Diffstat (limited to 'ares')
-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