X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_bus_error.xml;h=aba80832d29b58e000f64456e0f3954fe016ed7e;hp=9be474764b9d1566903a81b55e4261c1bbd4712c;hb=f280bcfb21aacce03abf17b3ad732c1351df42b9;hpb=b8bde11658366290521e3d03316378b482600323 diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index 9be474764..aba80832d 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -246,13 +246,13 @@ along with systemd; If not, see . 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,12 +291,12 @@ 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. - sd_bus_error_get_errno is will convert + sd_bus_error_get_errno will convert e->name to an errno-like value using the same rules as sd_bus_error_set. If e is NULL, 0 will be @@ -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. @@ -376,7 +376,7 @@ along with systemd; If not, see . - -EINVAL + -EINVAL Error was already set in sd_bus_error structure when one the @@ -384,7 +384,7 @@ along with systemd; If not, see . - -ENOMEM + -ENOMEM Memory allocation failed. @@ -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