Index Index for
Section 3
Index Alphabetical
listing for F
Bottom of page Bottom of
page

freehostent(3)

NAME

freehostent - Return hostent structures and dynamic storage to the system

SYNOPSIS

#include <netdb.h> void freehostent( struct hostent *ptr );

LIBRARY

Standard C Library (libc)

PARAMETERS

ptr Specifies a pointer to the hostent structure to be freed.

DESCRIPTION

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.

SEE ALSO

Functions: getipnodebyaddr(3), getipnodebyname(3). Network Programmer's Guide

Index Index for
Section 3
Index Alphabetical
listing for F
Top of page Top of
page