From cb07866b1b7c11e687a322d70dd9f9d73bbbe488 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Jul 2012 01:50:05 +0200 Subject: 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. --- src/systemd/sd-daemon.h | 2 +- src/systemd/sd-id128.h | 2 ++ src/systemd/sd-journal.h | 2 ++ src/systemd/sd-login.h | 2 ++ src/systemd/sd-readahead.h | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) (limited to 'src') 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. */ /* -- cgit v1.2.3-54-g00ecf