summaryrefslogtreecommitdiff
path: root/ares_free_hostent.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-02 09:50:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-02 09:50:42 +0000
commita52274e607622238673640dd6dfddcf2fdcaaa3d (patch)
tree16e807eba62f0e9f3dc8c2bcba54479f504aa493 /ares_free_hostent.3
parent86ae23430cb79b38dec419ebf9cf3f85073e091c (diff)
downloadc-ares-a52274e607622238673640dd6dfddcf2fdcaaa3d.tar.gz
c-ares-a52274e607622238673640dd6dfddcf2fdcaaa3d.tar.bz2
c-ares-a52274e607622238673640dd6dfddcf2fdcaaa3d.zip
minor edits
Diffstat (limited to 'ares_free_hostent.3')
-rw-r--r--ares_free_hostent.319
1 files changed, 7 insertions, 12 deletions
diff --git a/ares_free_hostent.3 b/ares_free_hostent.3
index 3068cfd..82bbfb5 100644
--- a/ares_free_hostent.3
+++ b/ares_free_hostent.3
@@ -28,21 +28,16 @@ The
.I ares_free_hostent
function frees a
.B struct hostent
-allocated by one of the functions
-.I ares_parse_a_reply
-or
-.IR ares_parse_ptr_reply .
+allocated by one of the functions \fIares_parse_a_reply(3)\fP or
+\fIares_parse_ptr_reply(3)\fP.
+.SH NOTES
+It is not necessary (and is not correct) to free the host structure passed to
+the callback functions for \fIares_gethostbyname(3)\fP or
+\fIares_gethostbyaddr(3)\fP. The ares library will automatically free such
+host structures when the callback returns.
.SH SEE ALSO
.BR ares_parse_a_reply (3),
.BR ares_parse_ptr_reply (3)
-.SH NOTES
-It is not necessary (and is not correct) to free the host structure
-passed to the callback functions for
-.I ares_gethostbyname
-or
-.IR ares_gethostbyaddr .
-The ares library will automatically free such host structures when the
-callback returns.
.SH AUTHOR
Greg Hudson, MIT Information Systems
.br