summaryrefslogtreecommitdiff
path: root/man/sd-id128.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-11-12 16:58:00 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-11-12 17:10:36 +0900
commit6b44ad0bf8e6e9ddfbc6e998e67c2937140ff809 (patch)
tree66b5867ae74f16586e8f28546162362f62535185 /man/sd-id128.xml
parent725d9713a9f8d9eddf665aefffee04a5d18f1179 (diff)
downloadsystemd-6b44ad0bf8e6e9ddfbc6e998e67c2937140ff809.tar.gz
man: set constant tag to NUL or NULL
Diffstat (limited to 'man/sd-id128.xml')
-rw-r--r--man/sd-id128.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/man/sd-id128.xml b/man/sd-id128.xml
index 79154306a9..40a3cc59ae 100644
--- a/man/sd-id128.xml
+++ b/man/sd-id128.xml
@@ -85,8 +85,8 @@
<programlisting>#define SD_MESSAGE_COREDUMP SD_ID128_MAKE(fc,2e,22,bc,6e,e6,47,b6,b9,07,29,ab,34,a2,50,b1)</programlisting>
- <para><constant>SD_ID128_NULL</constant> may be used to refer to the 128bit ID consisting of only NUL
- bytes.</para>
+ <para><constant>SD_ID128_NULL</constant> may be used to refer to the 128bit ID consisting of only
+ <constant>NUL</constant> bytes.</para>
<para><function>SD_ID128_MAKE_STR()</function> is similar to <function>SD_ID128_MAKE()</function>, but creates a
<type>const char*</type> expression that can be conveniently used in message formats and such:</para>
@@ -136,7 +136,8 @@ int main(int argc, char **argv) {
return 0;
}</programlisting>
- <para>Use <function>sd_id128_is_null()</function> to check if an 128bit ID consists of only NUL bytes:</para>
+ <para>Use <function>sd_id128_is_null()</function> to check if an 128bit ID consists of only
+ <constant>NUL</constant> bytes:</para>
<programlisting>int main(int argc, char *argv[]) {
assert(sd_id128_is_null(SD_ID128_NULL));