summaryrefslogtreecommitdiff
path: root/man/sd-id128.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-05 13:46:33 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-05 13:47:54 +0200
commit38df8d3f521c8d76c507c092f4a8e4bb84f9f48a (patch)
tree6bcacb58fc3a54709ca5f43da87971d7f24f3cfe /man/sd-id128.xml
parent949082ac214409365c01781fbf18ba08593918ff (diff)
downloadsystemd-38df8d3f521c8d76c507c092f4a8e4bb84f9f48a.tar.gz
sd-id128: expose ID128_UUID_FORMAT_STR
It is generally useful, and can be made public in the same manner that SD_ID128_FORMAT_STR is.
Diffstat (limited to 'man/sd-id128.xml')
-rw-r--r--man/sd-id128.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/sd-id128.xml b/man/sd-id128.xml
index 74d838df2e..22d5e0e3ed 100644
--- a/man/sd-id128.xml
+++ b/man/sd-id128.xml
@@ -24,6 +24,7 @@
<refname>SD_ID128_NULL</refname>
<refname>SD_ID128_CONST_STR</refname>
<refname>SD_ID128_FORMAT_STR</refname>
+ <refname>SD_ID128_UUID_FORMAT_STR</refname>
<refname>SD_ID128_FORMAT_VAL</refname>
<refname>sd_id128_equal</refname>
<refname>sd_id128_is_null</refname>
@@ -119,6 +120,11 @@ int main(int argc, char **argv) {
return 0;
}</programlisting>
+ <para><function>SD_ID128_UUID_FORMAT_STR()</function> is similar to
+ <function>SD_ID128_FORMAT_STR()</function> but includes separating hyphens to conform to the
+ "<ulink url="https://en.wikipedia.org/wiki/Universally_unique_identifier#Format">canonical representation</ulink>".
+ </para>
+
<para>Use <function>sd_id128_equal()</function> to compare two 128-bit IDs:</para>
<programlisting>int main(int argc, char *argv[]) {