freehostent - Return hostent structures and dynamic storage
to the system
#include <netdb.h>
void freehostent(
struct hostent *ptr );
Standard C Library (libc)
Specifies a pointer to the hostent structure to be freed.
The freehostent() function frees hostent structures and
dynamic memory to the system. You should use this return
to free hostent structures that were returned by the
getipnodebyname() and getipnodebyaddr() functions only.
Functions: getipnodebyaddr(3), getipnodebyname(3).
Network Programmer's Guide
freehostent(3)
[ Back ] |