Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <unistd.h> int gethostname(char *name, size_t namelen); |
Description gethostname()
determines the default name of the current host. The namelen parameter
specifies the size of the file pointed to by name. A trailing zero is appended to the name, | |||
Return val. | 0 -1 | if successful. otherwise. | |
See also |
|