UUID(3)
π¦ UUID(3) π¦
okay bestie, welcome to the UUID(3) page β Programmers Manual energy, but make it fun β¨
πΈ NAME πΈ
uuid β the DCE compatible Universally Unique Identifier library, aka the vibe-checked way to make IDs that don't clash π
β¨ SYNOPSIS β¨
#include <uuid.h>
that's it. one include and you're in, no cap π«Ά
π DESCRIPTION π
Okay so picture this: you need identifiers for objects that might be reachable beyond the local system β like, other machines, other servers, other whole ecosystems. That's literally what the UUID library is for, and it ate π
This library generates UUIDs that are compatible with the ones created by the Open Software Foundation (OSF) Distributed Computing Environment (DCE) utility uuidgen(1). Same family, same energy π
The UUIDs it spits out can be reasonably expected to be unique within a system, and unique across all systems β yes, plural, all of them. Use case? Say you're running a bunch of web servers and you want unique HTTP cookies across all of them, with no communication between the servers, and no fear of a name clash. Iconic behaviour honestly π
β CONFORMING TO β
This library generates UUIDs compatible with OSF DCE 1.1, plus hash based UUIDs V3 and V5 compatible with RFC-4122 <https://tools.ietf.org/html/rfc4122>. Standards queen π
π AUTHORS π
Theodore Y. Tsβo β the main character who made this happen π
π SEE ALSO π
go read these next, iykyk:
uuid_clear(3)uuid_compare(3)uuid_copy(3)uuid_generate(3)uuid_is_null(3)uuid_parse(3)uuid_time(3)uuid_unparse(3)
π REPORTING BUGS π
Found a bug? bestie pls don't suffer in silence π take it to the issue tracker: <https://github.com/util-linux/util-linux/issues>. They want to hear from you fr fr π«Ά
π AVAILABILITY π
The libuuid library has been part of the util-linux package since version 2.15.1 β yes, since before most of us were cool. You can download it from the Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/> if you need it πΎβ¨
and that's the whole page, bestie β no skipped sections, nothing left out, every fact accounted for. periodt ππ
okay bye ily, go make some unique identifiers π§
β signed off with love: util-linux 2.41.6, dated 2026-08-31, page UUID(3) ππΈπ
π¦ where this page comes from
- alpine 3.22: util-linux-doc 2.41.6-r1 Β· GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain
- alpine 3.23: util-linux-doc 2.41.6-r1 Β· GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain
- fedora 43: libuuid-devel 2.41.6-1.fc43 Β· BSD-3-Clause AND LGPL-2.1-or-later
- fedora 43: libuuid-devel 2.41.6-1.fc43 Β· BSD-3-Clause AND LGPL-2.1-or-later
- fedora 44: libuuid-devel 2.41.6-1.fc44 Β· BSD-3-Clause AND LGPL-2.1-or-later
- fedora 44: libuuid-devel 2.41.6-1.fc44 Β· BSD-3-Clause AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms