uuid_is_valid(9)
β¨ NAME β¨
okay so bestie, this is uuid_is_valid(9) from the Kernel API Manual β the little function that checks if a UUID string is valid. π
πΈ SYNOPSIS πΈ
bool uuid_is_valid (const char *uuid );
π ARGUMENTS π
uuidβ the UUID string you want to check π΅οΈββοΈ
π¦ DESCRIPTION π¦
it does a vibe check on the UUID string and asks: does it follow this format?
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
where x is a hex digit. that's the shape, no cap. β¨
π RETURN π
true if the input is a valid UUID string. periodt. π
π₯ SEE ALSO π₯
- Kernel file
./lib/uuid.c generate_random_uuid(9)
mwah π β this cutie lives in ./lib, dated October 2026. π«Ά
π¦ 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