unistd.h - standard symbolic constants and types
- Note:
- The XSH specification for <unistd.h> contains the basic definition of this interface. The following additional information pertains to IP Address Resolution.
The following is declared as a function and may also be defined as a macro:
int gethostname(char *address, int address_len);
gethostname().