Rechercher une page de manuel
ares_free_hostent
Langue: en
Version: 23 July 1998 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
ares_free_hostent - Free host structure allocated by ares functionsSYNOPSIS
#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 or ares_parse_ptr_reply.SEE ALSO
ares_parse_a_reply(3), 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 or ares_gethostbyaddr. The ares library will automatically free such host structures when the callback returns.AUTHOR
Greg Hudson, MIT Information SystemsCopyright 1998 by the Massachusetts Institute of Technology.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre