2 .\" Title: uuid_unparse
3 .\" Author: [see the "AUTHOR(S)" section]
4 .\" Generator: Asciidoctor 2.0.15
6 .\" Manual: Programmer's Manual
7 .\" Source: util-linux 2.38
10 .TH "UUID_UNPARSE" "3" "2022-01-06" "util\-linux 2.38" "Programmer\(aqs Manual"
28 . LINKSTYLE blue R < >
31 uuid_unparse \- convert a UUID from binary representation to a string
34 \fB#include <uuid.h>\fP
36 \fBvoid uuid_unparse(uuid_t \fIuu\fP, char *\fIout\fP);\fP
38 \fBvoid uuid_unparse_upper(uuid_t \fIuu\fP, char *\fIout\fP);\fP
40 \fBvoid uuid_unparse_lower(uuid_t \fIuu\fP, char *\fIout\fP);\fP
43 The \fBuuid_unparse\fP() function converts the supplied UUID \fIuu\fP from the binary representation into a 36\-byte string (plus trailing \(aq\(rs0\(aq) of the form 1b4e28ba\-2fa1\-11d2\-883f\-0016d3cca427 and stores this value in the character string pointed to by \fIout\fP. The case of the hex digits returned by \fBuuid_unparse\fP() may be upper or lower case, and is dependent on the system\-dependent local default.
45 If the case of the hex digits is important then the functions \fBuuid_unparse_upper\fP() and \fBuuid_unparse_lower\fP() may be used.
48 This library unparses UUIDs compatible with OSF DCE 1.1.
56 \fBuuid_compare\fP(3),
58 \fBuuid_generate\fP(3),
60 \fBuuid_is_null\fP(3),
64 For bug reports, use the issue tracker at \c
65 .URL "https://github.com/util\-linux/util\-linux/issues" "" "."
68 The \fBlibuuid\fP library is part of the util\-linux package since version 2.15.1. It can be downloaded from \c
69 .URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."