Open System Services Programmer's Guide

Table 21 OSS Interprocess-Communication-Related Functions (continued)
Guardian NotesOSS NotesOSS Function
freeaddrinfo()
Frees a specified address information
structure previously allocated by
getaddrinfo().
freehostent()
Frees hostent structure previously
allocated by getipnodebyaddr or
getipnodebyname.
gai_sterr()
Aids applications in printing error
messages returned by
getaddrinfo().
getaddrinfo()
Converts hostnames and service
names into socket address structures.
Availability of database might require
system manager action.
gethostbyaddr()
Gets a network host entry by address.
Availability of database might require
system manager action.
gethostbyname()
Gets a network host entry by name.
Availability of database might require
system manager action.
gethostent()
Gets the next entry in the network host
database.
Availability of database might require
system manager action.
gethostid()
Gets the identifier for the current host.
getipnodebyaddr()
Gets a network host entry by address.
getipnodebyname()
Gets host information based on IP
node name.
getnameinfo()
Translates a protocol-independent host
address to a host name and gives the
service name.
Availability of database might require
system manager action.
getnetbyaddr()
Gets a network entry by address.
Availability of database might require
system manager action.
getnetbyname()
Gets a network entry by name.
Availability of database might require
system manager action.
getnetent()
Gets the next entry in the network
database.
Can return extended errors.getpeername()
Gets the name of the peer socket.
Availability of database might require
system manager action.
getprotobyname()
Gets a protocol entry by name.
Availability of database might require
system manager action.
getprotobynumber()
Gets a protocol entry by number.
OSS Interprocess-Communication Functions 201