X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_bus_error_add_map.xml;h=f38fae7ebb2a55c15a14de7133cf9a7cf8af1d3f;hb=d04b238170998e0cbcc86db0f8ae66c3ee4a14d6;hp=3fca63be4a25fd843d73e402b35e19be770e7c35;hpb=62804d0390850723e9be6cdd580415fb4f90050d;p=elogind.git diff --git a/man/sd_bus_error_add_map.xml b/man/sd_bus_error_add_map.xml index 3fca63be4..f38fae7eb 100644 --- a/man/sd_bus_error_add_map.xml +++ b/man/sd_bus_error_add_map.xml @@ -58,7 +58,7 @@ typedef struct { const char *name; int code; - ... + … } sd_bus_error_map; @@ -87,7 +87,7 @@ sd_bus_error_set3 or sd_bus_error_get_errno3. By - default a number of generic, standardized mappings are known, as + default, a number of generic, standardized mappings are known, as documented in sd-bus-errors3. Use this call to add further, application-specific mappings. @@ -95,12 +95,12 @@ The function takes a pointer to an array of sd_bus_error_map structures. A reference to the specified array is added to the lookup tables for error - mappings. Note that the structure is not copied, it is hence + mappings. Note that the structure is not copied, and that it is hence essential that the array stays available and constant during the entire remaining runtime of the process. The mapping array should be put together with a series of - SD_BUS_ERROR_MAP() macro invocations, that + SD_BUS_ERROR_MAP() macro invocations that take a literal name string and a (positive) errno-style error number. The last entry of the array should be an invocation of the @@ -152,7 +152,7 @@ The various error definitions described here are available as a shared library, which can be compiled and linked to with the - libsystemd libelogind pkg-config1 file.