from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
| You are here: manpages
ARES_FREE_HOSTENT
Section: C Library Functions (3) Updated: 23 July 1998 Index
Return to Main Contents
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). -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)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- NOTES
-
- SEE ALSO
-
|