summaryrefslogtreecommitdiff
path: root/src
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 /src
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.
Diffstat (limited to 'src')
-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
5 files changed, 8 insertions, 2 deletions
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.
*/
/*