X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_get_data.xml;h=19fbcd35c0e87b1701a7beae62fe3989e34c158e;hp=1259b0cdbe2a00b4166fee0f2df727d1b077928f;hb=9b15b7846d4de01bb5d9700a24077787e984e8ab;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/man/sd_journal_get_data.xml b/man/sd_journal_get_data.xml index 1259b0cdb..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,10 +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. @@ -226,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); }