ares_free_hostent man page on Alpinelinux
[printable version]
ARES_FREE_HOSTENT(3) 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 strucā
tures 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)
[top]
List of man pages available for Alpinelinux
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|