centos man page for ares_free_hostent

Query: ares_free_hostent

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ARES_FREE_HOSTENT(3)					     Library Functions Manual					      ARES_FREE_HOSTENT(3)

NAME
ares_free_hostent - Free host structure allocated by ares functions
SYNOPSIS
#include <ares.h> void ares_free_hostent(struct hostent *host)
DESCRIPTION
The ares_free_hostent function frees a struct hostent allocated by one of the functions ares_parse_a_reply(3), ares_parse_aaaa_reply(3), or ares_parse_ptr_reply(3).
NOTES
It is not necessary (and is not correct) to free the host structure passed to the callback functions for ares_gethostbyname(3) or ares_gethostbyaddr(3). c-ares will automatically free such host structures when the callback returns.
SEE ALSO
ares_parse_a_reply(3), ares_parse_aaaa_reply(3), ares_parse_ptr_reply(3), ares_parse_ns_reply(3)
AUTHOR
Greg Hudson, MIT Information Systems Copyright 1998 by the Massachusetts Institute of Technology. 23 July 1998 ARES_FREE_HOSTENT(3)
Related Man Pages
ares_free_hostent(3) - debian
ares_gethostbyname(3) - debian
ares_gethostbyname_file(3) - debian
ares_gethostbyaddr(3) - centos
ares_gethostbyname(3) - centos
Similar Topics in the Unix Linux Community
Unix Systems Administrator - Information &amp; Technology Services - Seattle Times
Unix Systems Administrator - Information &amp; Technology Services - Seattle Times
c-ares 1.5.2 (Default branch)
Pingus 0.7.2
c-ares 1.6.0 (Default branch)