Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (i - m) lwres_freeaddrinfo(3)
NAME
lwres_freeaddrinfo - Frees the memory of one or more addrinfo structures previously created by
the lwres_getaddrinfo function
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_freeaddrinfo(
struct addrinfo * ai );
PARAMETERS
ai Specifies the addrinfo structure to be freed.
DESCRIPTION
This function frees the memory of one or more addrinfo structures previously created by the
lwres_getaddrinfo( ) function. Any dynamic storage pointed to by the structure is also freed.
NOTES
Call this function once for each structure created by a call to lwres_getaddrinfo( ) before closing
a socket.
RETURN VALUES
Upon successful completion, lwres_freeaddrinfo does not return a value. The address informa-
tion structure and associated storage have been returned to the system.
RELATED INFORMATION
Functions: lwres_getaddrinfo(3).
527187-017 Hewlett-Packard Company 4151