Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ freehostent(3) — Tru64 UNIX 5.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getipnodebyaddr(3)

getipnodebyname(3)

freehostent(3)  —  Subroutines

NAME

freehostent − Returns hostent structures and dynamic storage to the system

LIBRARY

Standard C Library (libc.so, libc.a)

SYNOPSIS

#include <netdb.h>

void freehostent (
    struct hostent ∗ptr);

PARAMETERS

ptrSpecifies a pointer to the hostent structure to be freed.  database. 

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.

RELATED INFORMATION

Functions: getipnodebyaddr(3), getipnodebyname(3). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026