2.16.38. file_gethostname

[<<<] [>>>]

@c Get the name of the actual host

This function gets the name of the host that runs the program. The result of the function is positive if no TCP/IP protocol is available on the machine or some error occured.

In case of success the return value is zero.

int file_gethostname(char *pszBuffer,
                     long cbBuffer
The first argument should point to the character buffer, and the second argument should hold the size of the buffer in bytes.
[<<<] [>>>]