Searches the hosts database that is referenced by the TCPIP$HOST
logical name for a host record with the specified name or alias.
If the host record is not found, this function may also invoke
the BIND resolver to query the appropriate name server for the
information.
The $QIO equivalent is the IO$_ACPCONTROL function with the
INETACP_FUNC$C_GETHOSTBYNAME subfunction code.
Format
#include <netdb.h>
struct hostent *gethostbyname ( char *name );
Additional Information:
explode
extract