XmuGetHostname(Xmu) X Version 11 (Release 5) XmuGetHostname(Xmu)
6 January 1993
Name
XmuGetHostname - host name
Syntax
cc . . . -lXmu
#include <X11/Xmu/Error.h>
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 operat-
ing system differences, such as whether to call gethostname or uname.
See also
gethostname(SLIB), uname(C)
Xlib - C Language X Interface