summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-13 01:50:05 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-13 01:50:05 +0200
commitcb07866b1b7c11e687a322d70dd9f9d73bbbe488 (patch)
tree845efc23b223911669369ae1d1f05960c99ae4aa
parent3913ac20415011846b9943db7afe4750ff6f7250 (diff)
man: move header file man pages from section 7 to 3
This way we can include documentation about minor macros/inline function within the introducionary man page in a sane way.
-rw-r--r--Makefile.am20
-rw-r--r--man/daemon.xml6
-rw-r--r--man/machine-id.xml2
-rw-r--r--man/sd-daemon.xml4
-rw-r--r--man/sd-id128.xml2
-rw-r--r--man/sd-journal.xml4
-rw-r--r--man/sd-login.xml6
-rw-r--r--man/sd-readahead.xml4
-rw-r--r--man/sd_booted.xml4
-rw-r--r--man/sd_get_seats.xml2
-rw-r--r--man/sd_id128_randomize.xml4
-rw-r--r--man/sd_id128_to_string.xml6
-rw-r--r--man/sd_is_fifo.xml4
-rw-r--r--man/sd_journal_print.xml2
-rw-r--r--man/sd_listen_fds.xml4
-rw-r--r--man/sd_login_monitor_new.xml2
-rw-r--r--man/sd_notify.xml4
-rw-r--r--man/sd_pid_get_session.xml2
-rw-r--r--man/sd_readahead.xml4
-rw-r--r--man/sd_seat_get_active.xml2
-rw-r--r--man/sd_session_is_active.xml2
-rw-r--r--man/sd_uid_get_state.xml2
-rw-r--r--man/systemd-journald.service.xml2
-rw-r--r--man/systemd.exec.xml4
-rw-r--r--man/systemd.journal-fields.xml2
-rw-r--r--man/systemd.xml2
-rw-r--r--src/systemd/sd-daemon.h2
-rw-r--r--src/systemd/sd-id128.h2
-rw-r--r--src/systemd/sd-journal.h2
-rw-r--r--src/systemd/sd-login.h2
-rw-r--r--src/systemd/sd-readahead.h2
31 files changed, 59 insertions, 53 deletions
diff --git a/Makefile.am b/Makefile.am
index 507ea3acd4..a06b0ca6a8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -495,10 +495,10 @@ MANPAGES = \
man/systemd-system-update-generator.8 \
man/systemd-fstab-generator.8 \
man/systemd.preset.5 \
- man/sd-id128.7 \
+ man/sd-id128.3 \
man/sd_id128_to_string.3 \
man/sd_id128_randomize.3 \
- man/sd-journal.7 \
+ man/sd-journal.3 \
man/sd_journal_print.3
MANPAGES_ALIAS = \
@@ -568,11 +568,11 @@ man/systemd-ask-password-wall.path.8: man/systemd-ask-password-console.service.8
man/systemd-tmpfiles-setup.service.8: man/systemd-tmpfiles.8
man/systemd-tmpfiles-clean.service.8: man/systemd-tmpfiles.8
man/systemd-tmpfiles-clean.timer.8: man/systemd-tmpfiles.8
-man/sd_id128_t.7: man/sd-id128.7
-man/SD_ID128_MAKE.7: man/sd-id128.7
-man/SD_ID128_FORMAT_STR.7: man/sd-id128.7
-man/SD_ID128_FORMAT_VAL.7: man/sd-id128.7
-man/sd_id128_equal.7: man/sd-id128.7
+man/sd_id128_t.3: man/sd-id128.3
+man/SD_ID128_MAKE.3: man/sd-id128.3
+man/SD_ID128_FORMAT_STR.3: man/sd-id128.3
+man/SD_ID128_FORMAT_VAL.3: man/sd-id128.3
+man/sd_id128_equal.3: man/sd-id128.3
man/sd_id128_from_string.3: man/sd_id128_to_string.3
man/sd_id128_get_machine.3: man/sd_id128_randomize.3
man/sd_id128_get_boot.3: man/sd_id128_randomize.3
@@ -1409,7 +1409,7 @@ pkgconfiglib_DATA += \
src/libsystemd-daemon/libsystemd-daemon.pc
MANPAGES += \
- man/sd-daemon.7 \
+ man/sd-daemon.3 \
man/sd_notify.3 \
man/sd_listen_fds.3 \
man/sd_is_fifo.3 \
@@ -2535,7 +2535,7 @@ EXTRA_DIST += \
MANPAGES += \
man/sd_readahead.3 \
- man/sd-readahead.7 \
+ man/sd-readahead.3 \
man/systemd-readahead-replay.service.8
MANPAGES_ALIAS += \
@@ -3099,7 +3099,7 @@ nodist_udevrules_DATA += \
MANPAGES += \
man/systemd-logind.service.8 \
man/logind.conf.5 \
- man/sd-login.7 \
+ man/sd-login.3 \
man/loginctl.1 \
man/sd_login_monitor_new.3 \
man/sd_pid_get_session.3 \
diff --git a/man/daemon.xml b/man/daemon.xml
index 66e198abbc..83143dc4b2 100644
--- a/man/daemon.xml
+++ b/man/daemon.xml
@@ -345,7 +345,7 @@
<varname>StandardError=syslog</varname>
in the service unit file. For details
see
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>
and
<citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para></listitem>
@@ -468,7 +468,7 @@
this scheme provided by systemd see
<citerefentry><refentrytitle>sd_listen_fds</refentrytitle><manvolnum>3</manvolnum></citerefentry>
and
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>. For
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>. For
details about porting existing daemons to
socket-based activation see below. With
minimal effort it is possible to implement
@@ -938,7 +938,7 @@ fi</programlisting>
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_listen_fds</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_notify</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
diff --git a/man/machine-id.xml b/man/machine-id.xml
index a42c7bb5ac..50295a8cd7 100644
--- a/man/machine-id.xml
+++ b/man/machine-id.xml
@@ -137,7 +137,7 @@ id[8] = (id[8] &amp; 0x3F) | 0x80;</programlisting>
<citerefentry><refentrytitle>hostname</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>machine-info</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>os-release</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_id128_get_machine</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd-daemon.xml b/man/sd-daemon.xml
index 31115a5d69..e29e2fc342 100644
--- a/man/sd-daemon.xml
+++ b/man/sd-daemon.xml
@@ -39,7 +39,7 @@
<refmeta>
<refentrytitle>sd-daemon</refentrytitle>
- <manvolnum>7</manvolnum>
+ <manvolnum>3</manvolnum>
</refmeta>
<refnamediv>
@@ -164,7 +164,7 @@
<citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.socket</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>fprintf</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-readahead</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-readahead</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd-id128.xml b/man/sd-id128.xml
index ea4e3a4fde..d3f995e008 100644
--- a/man/sd-id128.xml
+++ b/man/sd-id128.xml
@@ -39,7 +39,7 @@
<refmeta>
<refentrytitle>sd-id128</refentrytitle>
- <manvolnum>7</manvolnum>
+ <manvolnum>3</manvolnum>
</refmeta>
<refnamediv>
diff --git a/man/sd-journal.xml b/man/sd-journal.xml
index 0485458535..a771f0236f 100644
--- a/man/sd-journal.xml
+++ b/man/sd-journal.xml
@@ -39,7 +39,7 @@
<refmeta>
<refentrytitle>sd-journal</refentrytitle>
- <manvolnum>7</manvolnum>
+ <manvolnum>3</manvolnum>
</refmeta>
<refnamediv>
@@ -117,7 +117,7 @@
<citerefentry><refentrytitle>sd_journal_get_cursor</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_journal_cutoff_realtime_usec</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd-login.xml b/man/sd-login.xml
index acb78ac689..c02ad0c146 100644
--- a/man/sd-login.xml
+++ b/man/sd-login.xml
@@ -39,7 +39,7 @@
<refmeta>
<refentrytitle>sd-login</refentrytitle>
- <manvolnum>7</manvolnum>
+ <manvolnum>3</manvolnum>
</refmeta>
<refnamediv>
@@ -137,8 +137,8 @@
<citerefentry><refentrytitle>sd_seat_get_active</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_get_seats</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_login_monitor_new</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-readahead</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-readahead</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd-readahead.xml b/man/sd-readahead.xml
index 4eed56ad32..484e1273b2 100644
--- a/man/sd-readahead.xml
+++ b/man/sd-readahead.xml
@@ -39,7 +39,7 @@
<refmeta>
<refentrytitle>sd-readahead</refentrytitle>
- <manvolnum>7</manvolnum>
+ <manvolnum>3</manvolnum>
</refmeta>
<refnamediv>
@@ -110,7 +110,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_readahead</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd_booted.xml b/man/sd_booted.xml
index 62d6e57415..23caf5bf1a 100644
--- a/man/sd_booted.xml
+++ b/man/sd_booted.xml
@@ -109,7 +109,7 @@
may copy the implementation into their source
tree. For more details about the reference
implementation see
- <citerefentry><refentrytitle>sd_daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
<para>If the reference implementation is used as
drop-in files and -DDISABLE_SYSTEMD is set during
@@ -121,7 +121,7 @@
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd_daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml
index d30d193a59..28d06e9843 100644
--- a/man/sd_get_seats.xml
+++ b/man/sd_get_seats.xml
@@ -119,7 +119,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_session_get_seat</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd_id128_randomize.xml b/man/sd_id128_randomize.xml
index 1e23596f4b..cb37419663 100644
--- a/man/sd_id128_randomize.xml
+++ b/man/sd_id128_randomize.xml
@@ -114,7 +114,7 @@
<para>For more information about the
<literal>sd_id128_t</literal> type see
- <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
+ <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
<para><citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
<literal>--new-id</literal> command may be used as
@@ -148,7 +148,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>random</refentrytitle><manvolnum>4</manvolnum></citerefentry>
</para>
diff --git a/man/sd_id128_to_string.xml b/man/sd_id128_to_string.xml
index 3a171550e9..eda35b08b1 100644
--- a/man/sd_id128_to_string.xml
+++ b/man/sd_id128_to_string.xml
@@ -84,7 +84,7 @@
<para>For more information about the
<literal>sd_id128_t</literal> type see
- <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
+ <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
<para>When formatting a 128 bit ID into a string it is
often easier to use a format string for
@@ -93,7 +93,7 @@
<function>SD_ID128_FORMAT_STR</function> and
<function>SD_ID128_FORMAT_VAL()</function> macros. For
more information see
- <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
+ <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
</refsect1>
<refsect1>
@@ -123,7 +123,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-id128</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>printf</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml
index 289e1ba138..a41447b63c 100644
--- a/man/sd_is_fifo.xml
+++ b/man/sd_is_fifo.xml
@@ -196,7 +196,7 @@
may copy the implementation into their source
tree. For more details about the reference
implementation see
- <citerefentry><refentrytitle>sd_daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
<para>These functions continue to work as described,
even if -DDISABLE_SYSTEMD is set during
@@ -207,7 +207,7 @@
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_listen_fds</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.socket</refentrytitle><manvolnum>5</manvolnum></citerefentry>
diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml
index 2d5d3639c8..71551f779a 100644
--- a/man/sd_journal_print.xml
+++ b/man/sd_journal_print.xml
@@ -213,7 +213,7 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_journal_stream_fd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.journal-fields</refentrytitle><manvolnum>7</manvolnum></citerefentry>
diff --git a/man/sd_listen_fds.xml b/man/sd_listen_fds.xml
index e76630e4ff..003c1b51ea 100644
--- a/man/sd_listen_fds.xml
+++ b/man/sd_listen_fds.xml
@@ -156,7 +156,7 @@
may copy the implementation into their source
tree. For more details about the reference
implementation see
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
<para>If the reference implementation is used as
drop-in files and -DDISABLE_SYSTEMD is set during
@@ -189,7 +189,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_is_fifo</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_is_socket</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_is_socket_inet</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml
index 4642e99f74..102d943f96 100644
--- a/man/sd_login_monitor_new.xml
+++ b/man/sd_login_monitor_new.xml
@@ -164,7 +164,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_get_seats</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd_notify.xml b/man/sd_notify.xml
index a91c1bb4bf..1cd5b0aa7e 100644
--- a/man/sd_notify.xml
+++ b/man/sd_notify.xml
@@ -243,7 +243,7 @@
file. Alternatively, applications consuming these APIs
may copy the implementation into their source tree. For
more details about the reference implementation see
- <citerefentry><refentrytitle>sd_daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
<para>If the reference implementation is used as
drop-in files and -DDISABLE_SYSTEMD is set during
@@ -310,7 +310,7 @@
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd_daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
diff --git a/man/sd_pid_get_session.xml b/man/sd_pid_get_session.xml
index 9a1b1997d9..7897a2cd3e 100644
--- a/man/sd_pid_get_session.xml
+++ b/man/sd_pid_get_session.xml
@@ -151,7 +151,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_session_is_active</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>getsid</refentrytitle><manvolnum>2</manvolnum></citerefentry>
</para>
diff --git a/man/sd_readahead.xml b/man/sd_readahead.xml
index 2a92727881..ff7b355741 100644
--- a/man/sd_readahead.xml
+++ b/man/sd_readahead.xml
@@ -140,7 +140,7 @@
recommended that applications consuming this API copy
the implementation into their source tree. For more
details about the reference implementation see
- <citerefentry><refentrytitle>sd-readahead</refentrytitle><manvolnum>7</manvolnum></citerefentry></para>
+ <citerefentry><refentrytitle>sd-readahead</refentrytitle><manvolnum>3</manvolnum></citerefentry></para>
<para>If -DDISABLE_SYSTEMD is set during compilation
this function will always return 0 and otherwise
@@ -170,7 +170,7 @@ sd_readahead("noreplay");</programlisting>
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-readahead</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-readahead</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml
index 82a1ea0481..fa47378577 100644
--- a/man/sd_seat_get_active.xml
+++ b/man/sd_seat_get_active.xml
@@ -172,7 +172,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_session_get_seat</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml
index a14286aeab..a9107cb95f 100644
--- a/man/sd_session_is_active.xml
+++ b/man/sd_session_is_active.xml
@@ -232,7 +232,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_pid_get_session</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml
index f302b34c60..b9b713c64e 100644
--- a/man/sd_uid_get_state.xml
+++ b/man/sd_uid_get_state.xml
@@ -181,7 +181,7 @@
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-login</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sd_pid_get_owner_uid</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/systemd-journald.service.xml b/man/systemd-journald.service.xml
index 3c71a59c95..8ae24d40b3 100644
--- a/man/systemd-journald.service.xml
+++ b/man/systemd-journald.service.xml
@@ -166,7 +166,7 @@
<citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>journald.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.journal-fields</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>7</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 01b638f5ac..8d3b3da22e 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -551,7 +551,7 @@
prefixes may be disabled with
<varname>SyslogLevelPrefix=</varname>,
see below. For details see
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
Defaults to
<option>info</option>.</para></listitem>
@@ -573,7 +573,7 @@
these prefixes is disabled and the
logged lines are passed on as-is. For
details about this prefixing see
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
Defaults to true.</para></listitem>
</varlistentry>
diff --git a/man/systemd.journal-fields.xml b/man/systemd.journal-fields.xml
index 4f664f43e5..6a9fd9d85c 100644
--- a/man/systemd.journal-fields.xml
+++ b/man/systemd.journal-fields.xml
@@ -362,7 +362,7 @@
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>journald.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>7</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
diff --git a/man/systemd.xml b/man/systemd.xml
index 9ff6495e50..a184b1a401 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -1244,7 +1244,7 @@
<citerefentry><refentrytitle>systemadm</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-notify</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h
index fe51159ee6..b204e317be 100644
--- a/src/systemd/sd-daemon.h
+++ b/src/systemd/sd-daemon.h
@@ -64,7 +64,7 @@ extern "C" {
This should compile on non-Linux systems, too, but with the
exception of the sd_is_xxx() calls all functions will become NOPs.
- See sd-daemon(7) for more information.
+ See sd-daemon(3) for more information.
*/
#ifndef _sd_printf_attr_
diff --git a/src/systemd/sd-id128.h b/src/systemd/sd-id128.h
index 30cb686557..7d5e6c440e 100644
--- a/src/systemd/sd-id128.h
+++ b/src/systemd/sd-id128.h
@@ -30,6 +30,8 @@
extern "C" {
#endif
+/* 128 Bit ID APIs. See sd-id128(3) for more information. */
+
typedef union sd_id128 sd_id128_t;
union sd_id128 {
diff --git a/src/systemd/sd-journal.h b/src/systemd/sd-journal.h
index 74e57f48e0..cf1b8db74b 100644
--- a/src/systemd/sd-journal.h
+++ b/src/systemd/sd-journal.h
@@ -34,6 +34,8 @@
extern "C" {
#endif
+/* Journal APIs. See sd-journal(3) for more information. */
+
/* Write to daemon */
int sd_journal_print(int priority, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
int sd_journal_printv(int priority, const char *format, va_list ap);
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h
index 1a36a56b12..6bd1f2da4a 100644
--- a/src/systemd/sd-login.h
+++ b/src/systemd/sd-login.h
@@ -44,6 +44,8 @@ extern "C" {
* These functions access data in /proc, /sys/fs/cgroup and /run. All
* of these are virtual file systems, hence the accesses are
* relatively cheap.
+ *
+ * See sd-login(3) for more information.
*/
/* Get session from PID. Note that 'shared' processes of a user are
diff --git a/src/systemd/sd-readahead.h b/src/systemd/sd-readahead.h
index 1f8c5a0caf..2dac104f7a 100644
--- a/src/systemd/sd-readahead.h
+++ b/src/systemd/sd-readahead.h
@@ -53,7 +53,7 @@ extern "C" {
This should compile on non-Linux systems, too, but all functions
will become NOPs.
- See sd-readahead(7) for more information.
+ See sd-readahead(3) for more information.
*/
/*