X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_id128_to_string.xml;h=62badda8e244181ae9ba2731b438cd17fec0ea42;hp=3da5b70f80a638589b0845fd80206e23f1bb9cdc;hb=e45fc5e738b0b7700e8b4f3c4b25c58a49b44b27;hpb=e9dd9f9547350c7dc0473583b5c2228dc8f0ab76 diff --git a/man/sd_id128_to_string.xml b/man/sd_id128_to_string.xml index 3da5b70f8..62badda8e 100644 --- a/man/sd_id128_to_string.xml +++ b/man/sd_id128_to_string.xml @@ -53,13 +53,13 @@ #include <systemd/sd-id128.h> - char* sd_id128_to_string + char *sd_id128_to_string sd_id128_t id, char s[33] int sd_id128_from_string - const char* s, sd_id128_t* ret + const char *s, sd_id128_t *ret @@ -72,14 +72,15 @@ formats a 128-bit ID as a character string. It expects the ID and a string array capable of storing 33 characters. The ID will be formatted as 32 lowercase - hexadecimal digits and be terminated by a NUL - byte. + hexadecimal digits and be terminated by a + NUL byte. sd_id128_from_string() implements the reverse operation: it takes a 33 - character string with 32 hexadecimal digits - (either lowercase or uppercase, terminated by NUL) and - parses them back into a 128-bit ID returned in + character string with 32 hexadecimal digits (either + lowercase or uppercase, terminated by + NUL) and parses them back into a + 128-bit ID returned in ret. Alternatively, this call can also parse a 37-character string with a 128-bit ID formatted as RFC UUID. @@ -93,7 +94,7 @@ When formatting a 128-bit ID into a string, it is often easier to use a format string for - printf3. This + printf3. This is easily done using the SD_ID128_FORMAT_STR and SD_ID128_FORMAT_VAL() macros. For @@ -117,8 +118,8 @@ The sd_id128_to_string() and sd_id128_from_string() interfaces are - available as shared library, which can be compiled and - linked to with the libsystemd-id128 pkg-config1 + available as a shared library, which can be compiled and + linked to with the libsystemd pkg-config1 file. @@ -128,7 +129,7 @@ systemd1, sd-id1283, - printf3 + printf3