SYNOPSIS
#include <unistd.h>
int gethostname(const char *name, int namelen);
DESCRIPTION
The
PARAMETERS
- name
-
Points to a buffer that is to receive the host name.
- namelen
-
Is the size of the buffer pointed to by name.
RETURN VALUES
If successful,
CONFORMANCE
4.4BSD.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
uname()
MKS Toolkit 9.3 Documentation Build 6.