Sets thehost namewith the host name with the given value in the character array.
...
net_bsd.h/net_bsd.c
Prototype
| Code Block |
|---|
int sethostname (const char *host_name,
_size_t name_len); |
Arguments
host_name
Character array with the desired host name.
...