GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ARES_FREE_HOSTENT(3) FreeBSD Library Functions Manual ARES_FREE_HOSTENT(3)

ares_free_hostent - Free host structure allocated by ares functions

#include <ares.h>
void ares_free_hostent(struct hostent *host)

The ares_free_hostent function frees a struct hostent allocated by one of the functions ares_parse_a_reply or ares_parse_ptr_reply.

ares_parse_a_reply(3), ares_parse_ptr_reply(3)

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.

Greg Hudson, MIT Information Systems
Copyright 1998 by the Massachusetts Institute of Technology.
23 July 1998

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.