BRL-CAD
|
Go to the source code of this file.
Enumerations | |
enum | bu_endian_t { BU_LITTLE_ENDIAN = 1234 , BU_BIG_ENDIAN = 4321 , BU_PDP_ENDIAN = 3412 } |
Functions | |
bu_endian_t | bu_byteorder (void) |
int | bu_gethostname (char *hostname, size_t len) |
int bu_gethostname | ( | char * | hostname, |
size_t | len | ||
) |
Get the current operating host's name. This is usually also the network name of the current host. The name is written into the provided hostname buffer of at least len size. The hostname is always null-terminated and should be sized accordingly.