freeaddrinfo TCP UDP

Frees addrinfo structures information that getaddrinfo has allocated.

Files

net_bsd.h/net_bsd.c

Prototype

void  freeaddrinfo (struct  addrinfo  *res)

Arguments

res

A pointer to the addrinfo structure or linked list of addrinfo structures to be freed.

Returned Value

None.