VMS Help CC, Socket Routines, gethostname *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Returns the name currently associated to the host. Syntax: #include <types.h> #include <socket.h> _DECC_V4_SOURCE defined: int gethostname(char *name, int namelen); _DECC_V4_SOURCE not defined: int gethostname(char *name, size_t namelen);
|