generate_random_uuid(9)
π NAME π
generate_random_uuid β generate a random UUID. Okay so yes bestie, this is the Kernel API Manual page for generate_random_uuid(9), and it's literally about making a random UUID. Slay.
β¨ SYNOPSIS β¨
void generate_random_uuid (unsigned char uuid[16] );
It's giving void, so no return value to obsess over β you just call it and move on. π
π¦ ARGUMENTS π¦
uuidβ where to put the generated UUID. That's the whole vibe: you give it the destination, it handles the random UUID situation. π«Ά
πΈ DESCRIPTION πΈ
Random UUID interface.
Used to create a Boot ID or a filesystem UUID/GUID, but can be useful for other kernel drivers. So like, main character energy for Boot IDs and filesystem UUIDs/GUIDs, and lowkey handy for other kernel drivers too. π₯
π SEE ALSO π
- Kernel file
./lib/uuid.c uuid_is_valid(9)
Go peek at these if you want the full lore, iykyk. π§
source/version: ./lib Β· date: October 2026 β mwah, bestie, that's the whole page πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms