diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-07 18:25:54 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-07 18:36:55 -0400 |
commit | 5aded369782f28255bc6b494ca905d7acaea7a56 (patch) | |
tree | 19967be26179b3084a1916e9ac6a7c69aee2e760 /man/sd_bus_error.xml | |
parent | 061df014fd60a6c1eefadcf9b84705015d0ce511 (diff) |
man: add a mapping for external manpages
It is annoying when we have dead links on fd.o.
Add project='man-pages|die-net|archlinux' to <citerefentry>-ies.
In generated html, add external links to
http://man7.org/linux/man-pages/man, http://linux.die.net/man/,
https://www.archlinux.org/.
By default, pages in sections 2 and 4 go to man7, since Michael
Kerrisk is the autorative source on kernel related stuff.
The rest of links goes to linux.die.net, because they have the
manpages.
Except for the pacman stuff, since it seems to be only available from
archlinux.org.
Poor gummiboot gets no link, because gummitboot(8) ain't to be found
on the net. According to common wisdom, that would mean that it does
not exist. But I have seen Kay using it, so I know it does, and
deserves to be found. Can somebody be nice and put it up somewhere?
Diffstat (limited to 'man/sd_bus_error.xml')
-rw-r--r-- | man/sd_bus_error.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index 9be474764b..3317eadc37 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -246,7 +246,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. <para><function>sd_bus_error_set</function> will return an errno-like negative value returned based on parameter <parameter>name</parameter> (see - <citerefentry><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>). + <citerefentry project='man-pages'><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>). Various well-known D-Bus errors are converted to specific values, and the remaining ones to <constant>-ENXIO</constant>. Well-known D-Bus error names are available as constants @@ -270,7 +270,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. <para><function>sd_bus_error_setf</function> is similar to <function>sd_bus_error_set</function>, but takes a - <citerefentry><refentrytitle>printf</refentrytitle><manvolnum>3</manvolnum></citerefentry> + <citerefentry project='man-pages'><refentrytitle>printf</refentrytitle><manvolnum>3</manvolnum></citerefentry> format string and corresponding arguments to generate <structname>message</structname>.</para> @@ -291,7 +291,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. <para><function>sd_bus_error_set_errnof</function> is similar to <function>sd_bus_error_set_errno</function>, but in addition to <parameter>name</parameter>, takes a - <citerefentry><refentrytitle>printf</refentrytitle><manvolnum>3</manvolnum></citerefentry> + <citerefentry project='man-pages'><refentrytitle>printf</refentrytitle><manvolnum>3</manvolnum></citerefentry> format and corresponding arguments. <structfield>name</structfield> will be generated from <parameter>format</parameter> and the arguments.</para> @@ -322,7 +322,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. <para><function>sd_bus_error_free</function> will destroy resources held by <parameter>e</parameter>. The parameter itself will not be deallocated, and must be - <citerefentry><refentrytitle>free</refentrytitle><manvolnum>3</manvolnum></citerefentry>d + <citerefentry project='man-pages'><refentrytitle>free</refentrytitle><manvolnum>3</manvolnum></citerefentry>d by the caller if necessary.</para> </refsect1> @@ -397,7 +397,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. <para><function>sd_bus_set_error()</function> and other functions described here are available as a shared library, which can be compiled and linked to with the - <constant>libsystemd</constant> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> + <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry> file.</para> </refsect1> @@ -407,7 +407,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. <para> <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>, - <citerefentry><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>, + <citerefentry project='man-pages'><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>, <citerefentry><refentrytitle>strerror</refentrytitle><manvolnum>3</manvolnum></citerefentry> </para> </refsect1> |