Get some system dependent information. More...
Go to the source code of this file.
Functions | |
void | get_ieee_node_identifier (uuid_node_t *node) |
System dependent call to get IEEE node identifier. | |
void | get_system_time (uuid_time_t *uuid_time) |
System dependent call to get the current system time. | |
void | get_random_info (unsigned char seed[16]) |
Get random information. | |
Get some system dependent information.
Definition in file sysdep.cpp.
#define _CRT_RAND_S |
Definition at line 30 of file sysdep.cpp.
void get_ieee_node_identifier | ( | uuid_node_t * | node | ) |
System dependent call to get IEEE node identifier.
This sample implementation generates a random node ID.
Definition at line 41 of file sysdep.cpp.
void get_system_time | ( | uuid_time_t * | uuid_time | ) |
System dependent call to get the current system time.
Returned as 100ns ticks since Oct 15, 1582, but resolution may be less than 100ns.
Definition at line 57 of file sysdep.cpp.
void get_random_info | ( | unsigned char | seed[16] | ) |
Get random information.
Definition at line 74 of file sysdep.cpp.