nlGetHostName

nlGetHostName

nl

1998 12-06


NAME

nlGetHostName - Get hostname of local machine


SYNOPSIS

long nlGetHostName(char *hostname, long hostname_length)

Return the hostname of the local computer in the provided buffer. Return TRUE on success, FALSE on failure.


ARGUMENTS


hostname pointer to buffer into which the hostname will be returned
hostname_length the length of the buffer