Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
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
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll |
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll |
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−152 Hewlett-Packard Company 527187-017