UUID_COPY(3)
π UUID_COPY(3) β like, the copy-paste moment for UUIDs π
okay so before we even start: this is a page from the Programmers Manual, section 3 (that's the library-functions girlies β¨). and bestie, this one is short β it's giving "one job, does it well, leaves" and honestly? respect. π«Ά
β¨ NAME β¨
uuid_copy β copy a UUID value. that's it. that's the whole gig. π
β¨ SYNOPSIS β¨
#include <uuid.h>
void uuid_copy(uuid_t dst, const uuid_t src);
so you gotta pull in <uuid.h> first β no header, no vibes. π
β¨ DESCRIPTION β¨
the uuid_copy() function copies the UUID variable src to dst. π
that's literally it, no cap. one UUID goes in, the same UUID comes out the other side, dst is now that girl. it's the most low-key iconic function in the whole library β no parsing, no generating, no drama, just a handoff. π¦
β¨ RETURN VALUE β¨
plot twist: it doesn't return anything (it's void, she's mysterious like that π). instead, the copied UUID is returned in the location pointed to by dst. so like, look at dst, that's where your prize is. π
β¨ AUTHORS β¨
Theodore Y. Tsβo β thank you for your service, king πβ¨
β¨ SEE ALSO β¨
the whole UUID friend group, fr fr β go say hi to:
uuid(3)uuid_clear(3)uuid_compare(3)uuid_generate(3)uuid_is_null(3)uuid_parse(3)uuid_unparse(3)
β¨ REPORTING BUGS β¨
found a bug? π don't suffer in silence, bestie β for bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>. they wanna hear from you, i promise. πΈ
β¨ AVAILABILITY β¨
the libuuid library is part of the util-linux package since version 2.15.1. ποΈ you can download it from the Linux Kernel Archive at <https://www.kernel.org/pub/linux/utils/util-linux/>. go get your girl. π§
ok that's genuinely the whole page π tiny page, huge heart. go copy some UUIDs, you're gonna slay. π
sign-off era π β this little masterpiece is from util-linux 2.41.6, dated 2026-08-31. mwah, bye bestie! ππ
π¦ 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