X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_journal_stream_fd.xml;h=045b3fb21eb86e4fa47c37ab4c4121cb04c9b861;hb=34b950a8d8b83b3c101beba479a9ddae8c2ebb93;hp=a8dc8fd08aa92356e67512acde9241ed727fd02c;hpb=494a66821815e8109afa136bd42818b85da38c09;p=elogind.git
diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml
index a8dc8fd08..045b3fb21 100644
--- a/man/sd_journal_stream_fd.xml
+++ b/man/sd_journal_stream_fd.xml
@@ -53,7 +53,7 @@
int sd_journal_stream_fd
- const char* identifier
+ const char *identifier
int priority
int level_prefix
@@ -69,8 +69,8 @@
messages written to this file descriptor as simple
newline-separated text strings are written to the
journal. This file descriptor can be used internally
- by applications or be made STDOUT/STDERR of other
- processes executed.
+ by applications or be made standard output or standard
+ error of other processes executed.
sd_journal_stream_fd()
takes a short program identifier string as first
@@ -88,9 +88,9 @@
LOG_INFO,
LOG_DEBUG, as defined in
syslog.h, see
- syslog3
+ syslog3
for details. The third argument is a boolean: if true
- kernel-style log priority level prefixes (such as
+ kernel-style log level prefixes (such as
SD_WARNING) are interpreted, see
sd-daemon3
for more information.
@@ -114,7 +114,7 @@
The sd_journal_stream_fd()
interface is available as a shared library, which can
be compiled and linked to with the
- libsystemd-journal pkg-config1
+ libsystemd pkg-config1
file.
@@ -122,7 +122,7 @@
Examples
Creating a log stream suitable for
- fprintf3:
+ fprintf3:
#include <syslog.h>
#include <stdio.h>
@@ -161,8 +161,8 @@ int main(int argc, char *argv[]) {
sd-journal3,
sd-daemon3,
sd_journal_print3,
- syslog3,
- fprintf3,
+ syslog3,
+ fprintf3,
systemd.journal-fields7