Open System Services Library Calls Reference Manual (G06.27+, H06.04+)
lwres_freehostent(3) OSS Library Calls Reference Manual
NAME
lwres_freehostent - Frees the memory of one or more hostent structures returned by the
lwres_getipnodebyaddr() or lwres_getipnodebyname() functions
LIBRARY
G-series native OSS processes: /G/system/sysnn/zinetsrl
H-series OSS processes: /G/system/zdllnnn/zinetdll
SYNOPSIS
#include <netdb.h>
void lwres_freehostent (
struct hostent * ptr );
PARAMETERS
ptr Points to the hostent structure that is to be freed.
DESCRIPTION
This function frees the memory of one or more hostent structures returned by the
lwres_getipnodebyaddr() or lwres_getipnodebyname( ) functions.
NOTES
Call this function once for each hostent structure returned by the lwres_getipnodebyaddr() or
lwres_getipnodebyname( ) functions.
RETURN VALUES
Upon successful completion, lwres_freehostent does not return a value. The hostent structure
and associated storage have been returned to the system.
RELATED INFORMATION
Functions: lwres_getipnodebyaddr(3), lwres_getipnodebyname(3).
4−94 Hewlett-Packard Company 527187-004