From a8eedf4953d379dc09ee2b04e69a0a54ba247a02 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 9 Jul 2012 15:46:21 +0200 Subject: man: document sd_print() and friends --- man/sd-journal.xml | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 man/sd-journal.xml (limited to 'man/sd-journal.xml') diff --git a/man/sd-journal.xml b/man/sd-journal.xml new file mode 100644 index 0000000000..0485458535 --- /dev/null +++ b/man/sd-journal.xml @@ -0,0 +1,125 @@ + + + + + + + + + sd-journal + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + sd-journal + 7 + + + + sd-journal + APIs for submitting and querying log entries to and from the Journal + + + + + #include <systemd/sd-journal.h> + + + + pkg-config --cflags --libs libsystemd-journal + + + + + + Description + + sd-journal.h provides APIs + to submit and query log entries. The APIs exposed act + both as client for the + systemd-journald.service8 + journal service and as parser for the journal files + on disk. + + + See + sd_journal_print3, + sd_journal_stream_fd3, + sd_journal_open3, + sd_journal_next3, + sd_journal_get_realtime_usec3, + sd_journal_add_match3, + sd_journal_seek_head3, + sd_journal_get_cursor3, + sd_journal_cutoff_realtime_usec3 + and + sd_journal_get_fd3 + for more information about the functions + implemented. + + Command line access for submitting entries to + the journal is available with the + systemd-cat1 + tool. Command line access for querying entries from + the journal is available with the + journalctl1 + tool. + + + + Notes + + These APIs are implemented as shared library, + which can be compiled and linked to with the + libsystemd-journal + pkg-config1 + file. + + + + See Also + + systemd1, + sd_journal_print3, + sd_journal_stream_fd3, + sd_journal_open3, + sd_journal_next3, + sd_journal_get_realtime_usec3, + sd_journal_add_match3, + sd_journal_seek_head3, + sd_journal_get_cursor3, + sd_journal_cutoff_realtime_usec3, + journalctl1, + sd-id1287, + pkg-config1 + + + + -- cgit v1.2.3-54-g00ecf