Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
UUID_GENERATE(3) | Library Functions Manual | UUID_GENERATE(3) |
NAME
uuid_generate, uuid_generate_random, uuid_generate_time - create a new unique UUID valueSYNOPSIS
#include <uuid/uuid.h>void uuid_generate(uuid_t out);
void uuid_generate_random(uuid_t out);
void uuid_generate_time(uuid_t out);
DESCRIPTION
The uuid_generate function creates a new universally unique identifier (UUID). The uuid will be generated based on high-quality randomness from /dev/urandom, if available. If it is not available, then uuid_generate will use an alternative algorithm which uses the current time, the local ethernet MAC address (if available), and random data generated using a pseudo-random generator.RETURN VALUE
The newly created UUID is returned in the memory location pointed to by out.CONFORMING TO
OSF DCE 1.1AUTHOR
Theodore Y. Ts'oSEE ALSO
uuid(3), uuidgen(1), uuid_clear(3), uuid_compare(3), uuid_copy(3), uuid_is_null(3), uuid_parse(3), uuid_time(3), uuid_unparse(3)May 2024 | E2fsprogs version 1.47.1 |