int XmuGetHostname(buf, maxlen)
char *buf;
int maxlen;
Arguments
buf
returns the host name
maxlen
specifies the length of buf
Description
The XmuGetHostname
function stores the null-terminated name of the local host in buf,
and returns length of the name.
The function hides operating system differences,
such as whether to call gethostbyname or uname.