X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_bus_error.xml;h=aba80832d29b58e000f64456e0f3954fe016ed7e;hb=c3b128736dbde629db87751cd706a0b68a41e7d0;hp=68f1d7b47d553d671d6adb7ec37a456adbb0c10a;hpb=7c071fda945a8f9e3b11d37dc04c8bdfa615d44a;p=elogind.git
diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml
index 68f1d7b47..aba80832d 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,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