man: use <constant> markup for errno value

We were inconsistent, but marking them up as constants makes more
sense then as variables.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-09-25 17:27:46 -04:00
parent 4dfefc1914
commit 8474b70c3a
15 changed files with 51 additions and 51 deletions

View File

@ -381,7 +381,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-ENODATA</varname></term>
<term><constant>-ENODATA</constant></term>
<listitem><para>Given field is not available in
<parameter>c</parameter>.</para>
@ -389,7 +389,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-ENOENT</varname></term>
<term><constant>-ENOENT</constant></term>
<listitem><para>Given field is not specified for the sender.
This will be returned by <function>sd_bus_get_unit</function>,
@ -403,7 +403,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-ENXIO</varname></term>
<term><constant>-ENXIO</constant></term>
<listitem><para>An error occurred in parsing cgroup paths.
<filename>libsystemd</filename> might be out of sync with
@ -411,14 +411,14 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>Specified pointer parameter is <constant>NULL</constant>.
</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Memory allocation failed.</para></listitem>
</varlistentry>

View File

@ -205,14 +205,14 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-ESRCH</varname></term>
<term><constant>-ESRCH</constant></term>
<listitem><para>Specified <parameter>pid</parameter> could not
be found.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>Specified parameter is invalid
(<constant>NULL</constant> in case of output
@ -220,7 +220,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Memory allocation failed.</para></listitem>
</varlistentry>

View File

@ -376,7 +376,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>Error was already set in
<structname>sd_bus_error</structname> structure when one the
@ -384,7 +384,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Memory allocation failed.</para></listitem>
</varlistentry>

View File

@ -219,35 +219,35 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>Specified parameter is invalid.
</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-EPERM</varname></term>
<term><constant>-EPERM</constant></term>
<listitem><para>Message has been sealed.
</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ESTALE</varname></term>
<term><constant>-ESTALE</constant></term>
<listitem><para>Message is in invalid state.
</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ENXIO</varname></term>
<term><constant>-ENXIO</constant></term>
<listitem><para>Message cannot be appended to.
</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Memory allocation failed.</para></listitem>
</varlistentry>

View File

@ -107,14 +107,14 @@
<variablelist>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>A specified parameter
is invalid.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ENODATA</varname></term>
<term><constant>-ENODATA</constant></term>
<listitem><para>No cookie has been
assigned to this message. This either

View File

@ -139,14 +139,14 @@
<variablelist>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>A specified parameter
is invalid.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ENODATA</varname></term>
<term><constant>-ENODATA</constant></term>
<listitem><para>No timestamp or
sequence number information is

View File

@ -143,7 +143,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-EPERM</varname></term>
<term><constant>-EPERM</constant></term>
<listitem><para>The bus connection has already been started.</para></listitem>
</varlistentry>

View File

@ -112,7 +112,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Memory allocation failed.</para></listitem>
</varlistentry>

View File

@ -171,7 +171,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>Specified parameter is invalid
(<constant>NULL</constant> in case of output
@ -179,7 +179,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Memory allocation failed.</para></listitem>
</varlistentry>

View File

@ -143,7 +143,7 @@
<variablelist>
<varlistentry>
<term><varname>-EALREADY</varname></term>
<term><constant>-EALREADY</constant></term>
<listitem><para>The caller already is
the owner of the specified
@ -151,7 +151,7 @@
</varlistentry>
<varlistentry>
<term><varname>-EEXIST</varname></term>
<term><constant>-EEXIST</constant></term>
<listitem><para>The name has already
been acquired by a different peer, and
@ -163,7 +163,7 @@
</varlistentry>
<varlistentry>
<term><varname>-ESRCH</varname></term>
<term><constant>-ESRCH</constant></term>
<listitem><para>It was attempted to
release a name that is currently not
@ -172,7 +172,7 @@
</varlistentry>
<varlistentry>
<term><varname>-EADDRINUSE</varname></term>
<term><constant>-EADDRINUSE</constant></term>
<listitem><para>It was attempted to
release a name that is owned by a
@ -181,21 +181,21 @@
</varlistentry>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>A specified parameter
is invalid.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ENOTCONN</varname></term>
<term><constant>-ENOTCONN</constant></term>
<listitem><para>The bus connection has
been disconnected.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ECHILD</varname></term>
<term><constant>-ECHILD</constant></term>
<listitem><para>The bus connection has
been created in a different process

View File

@ -137,13 +137,13 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Not enough memory to allocate an object.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>An invalid argument has been passed. This includes
specyfing an empty mask in <parameter>options</parameter> or a mask
@ -155,7 +155,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-EBUSY</varname></term>
<term><constant>-EBUSY</constant></term>
<listitem><para>An handler is already installed for this
child.</para></listitem>
@ -163,14 +163,14 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-ESTALE</varname></term>
<term><constant>-ESTALE</constant></term>
<listitem><para>The event loop is already terminated.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ECHILD</varname></term>
<term><constant>-ECHILD</constant></term>
<listitem><para>The event loop has been created in a different process.</para></listitem>

View File

@ -138,25 +138,25 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Not enough memory to allocate an object.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>An invalid argument has been passed.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ESTALE</varname></term>
<term><constant>-ESTALE</constant></term>
<listitem><para>The event loop is already terminated.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ECHILD</varname></term>
<term><constant>-ECHILD</constant></term>
<listitem><para>The event loop has been created in a different process.</para></listitem>
</varlistentry>

View File

@ -134,20 +134,20 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Not enough memory to allocate an object.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>An invalid argument has been passed.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-EBUSY</varname></term>
<term><constant>-EBUSY</constant></term>
<listitem><para>An handler is already installed for this
signal or the signal was not blocked previously.</para></listitem>
@ -155,14 +155,14 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>-ESTALE</varname></term>
<term><constant>-ESTALE</constant></term>
<listitem><para>The event loop is already terminated.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ECHILD</varname></term>
<term><constant>-ECHILD</constant></term>
<listitem><para>The event loop has been created in a different process.</para></listitem>

View File

@ -196,34 +196,34 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Not enough memory to allocate an object.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-EINVAL</varname></term>
<term><constant>-EINVAL</constant></term>
<listitem><para>An invalid argument has been passed.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ESTALE</varname></term>
<term><constant>-ESTALE</constant></term>
<listitem><para>The event loop is already terminated.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ECHILD</varname></term>
<term><constant>-ECHILD</constant></term>
<listitem><para>The event loop has been created in a different process.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-ENOTSUP</varname></term>
<term><constant>-ENOTSUP</constant></term>
<listitem><para>The selected clock is not supported by the event loop implementation.</para></listitem>

View File

@ -138,13 +138,13 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<variablelist>
<varlistentry>
<term><varname>-ENOMEM</varname></term>
<term><constant>-ENOMEM</constant></term>
<listitem><para>Not enough memory to allocate the object.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>-EMFILE</varname></term>
<term><constant>-EMFILE</constant></term>
<listitem><para>The maximum number of event loops has been allocated.</para></listitem>