X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_journal_get_data.xml;h=19fbcd35c0e87b1701a7beae62fe3989e34c158e;hb=49fba678a0e2c30df0d2ccefab731beb3955a473;hp=460b709dbff02a887a37d75efc0be28c86175686;hpb=1e158d273bb63883566358cbb886cd4167421df6;p=elogind.git
diff --git a/man/sd_journal_get_data.xml b/man/sd_journal_get_data.xml
index 460b709db..19fbcd35c 100644
--- a/man/sd_journal_get_data.xml
+++ b/man/sd_journal_get_data.xml
@@ -58,41 +58,41 @@
int sd_journal_get_data
- sd_journal* j
- const char* field
- const void** data
- size_t* length
+ sd_journal *j
+ const char *field
+ const void **data
+ size_t *length
int sd_journal_enumerate_data
- sd_journal* j
- const void** data
- size_t* length
+ sd_journal *j
+ const void **data
+ size_t *length
void sd_journal_restart_data
- sd_journal* j
+ sd_journal *j
SD_JOURNAL_FOREACH_DATA
- sd_journal* j
- const void* data
+ sd_journal *j
+ const void *data
size_t length
int sd_journal_set_data_threshold
- sd_journal* j
+ sd_journal *j
size_t sz
int sd_journal_get_data_threshold
- sd_journal* j
- size_t* sz
+ sd_journal *j
+ size_t *sz
@@ -179,9 +179,9 @@
sd_journal_get_data()
returns 0 on success or a negative errno-style error
code. If the current entry does not include the
- specified field -ENOENT is returned. If
+ specified field, -ENOENT is returned. If
sd_journal_next3
- has not been called at least once -EADDRNOTAVAIL is
+ has not been called at least once, -EADDRNOTAVAIL is
returned. sd_journal_enumerate_data()
returns a positive integer if the next field has been
read, 0 when no more fields are known, or a negative
@@ -203,9 +203,9 @@
sd_journal_set_data_threshold()
and
sd_journal_get_data_threshold()
- interfaces are available as shared library, which can
+ interfaces are available as a shared library, which can
be compiled and linked to with the
- libsystemd-journal pkg-config1
+ libsystemd pkg-config1
file.
@@ -225,7 +225,7 @@
...
int print_fields(sd_journal *j) {
const void *data;
- size_t l;
+ size_t length;
SD_JOURNAL_FOREACH_DATA(j, data, length)
printf("%.*s\n", (int) length, data);
}