X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_bus_error.xml;h=7f4160753ef3b6092c4e9e33b3d1e940398726ca;hb=06b643e7f5a3b79005dd57497897ab7255fe3659;hp=68f1d7b47d553d671d6adb7ec37a456adbb0c10a;hpb=7c071fda945a8f9e3b11d37dc04c8bdfa615d44a;p=elogind.git diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index 68f1d7b47..7f4160753 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -232,8 +232,8 @@ along with systemd; If not, see . Description The sd_bus_error structure carries - information for a sd-bus error. - Functions described below can be used to set and query fields in + information for a sd-bus error. The + functions described below can be used to set and query fields in this structure. The name field contains a short identifier of an error. It should follow the rules for error names described in the D-Bus specification, subsection . sd_bus_error_set will return an errno-like negative value returned based on parameter name (see - errno3). + errno3). Various well-known D-Bus errors are converted to specific values, and the remaining ones to -ENXIO. Well-known D-Bus error names are available as constants SD_BUS_ERROR_FAILED, etc., listed above. If name is NULL, it is - assumed that no error occured, and 0 is returned. This means that + assumed that no error occurred, and 0 is returned. This means that this function may be conveniently used in a return statement. @@ -270,7 +270,7 @@ along with systemd; If not, see . sd_bus_error_setf is similar to sd_bus_error_set, but takes a - printf3 + printf3 format string and corresponding arguments to generate message. @@ -291,7 +291,7 @@ along with systemd; If not, see . sd_bus_error_set_errnof is similar to sd_bus_error_set_errno, but in addition to name, takes a - printf3 + printf3 format and corresponding arguments. name will be generated from format and the arguments. @@ -322,7 +322,7 @@ along with systemd; If not, see . sd_bus_error_free will destroy resources held by e. The parameter itself will not be deallocated, and must be - free3d + free3d by the caller if necessary. @@ -397,7 +397,7 @@ along with systemd; If not, see . sd_bus_set_error() and other functions described here are available as a shared library, which can be compiled and linked to with the - libsystemd pkg-config1 + libsystemd pkg-config1 file. @@ -407,7 +407,7 @@ along with systemd; If not, see . systemd1, sd-bus3, - errno3, + errno3, strerror3