diff --git a/man/rules/meson.build b/man/rules/meson.build index 48da2f8f8c..b1d1c5d595 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -137,6 +137,7 @@ manpages = [ 'sd_id128_in_setv', 'sd_id128_is_allf', 'sd_id128_is_null', + 'sd_id128_string_equal', 'sd_id128_t'], ''], ['sd-journal', '3', [], ''], diff --git a/man/sd-id128.xml b/man/sd-id128.xml index 566cc2b595..c869943ad7 100644 --- a/man/sd-id128.xml +++ b/man/sd-id128.xml @@ -28,6 +28,7 @@ SD_ID128_NULL SD_ID128_UUID_FORMAT_STR sd_id128_equal + sd_id128_string_equal sd_id128_in_set sd_id128_in_set_sentinel sd_id128_in_setv @@ -75,6 +76,12 @@ sd_id128_t b + + int sd_id128_string_equal + const char *a + sd_id128_t b + + int sd_id128_is_null sd_id128_t id @@ -200,6 +207,10 @@ int main(int argc, char **argv) { return 0; } + sd_id128_string_equal() is similar to sd_id128_equal(), + but the first ID is formatted as const char*. The same restrictions apply as to the first + argument of sd_id128_from_string(). + sd_id128_is_null() checks if an ID consists of only NUL bytes: