X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_journal_get_fd.xml;h=809f00b9f3b8c98e62e4801d639b89752160bc60;hp=1c6f25005eac5f82a09176700c7ae1f17001d96c;hb=8f18f550e7023948f199616fdfbb0f09711fd615;hpb=1e158d273bb63883566358cbb886cd4167421df6 diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml index 1c6f25005..809f00b9f 100644 --- a/man/sd_journal_get_fd.xml +++ b/man/sd_journal_get_fd.xml @@ -62,34 +62,34 @@ int sd_journal_get_fd - sd_journal* j + sd_journal *j int sd_journal_get_events - sd_journal* j + sd_journal *j int sd_journal_get_timeout - sd_journal* j - uint64_t* timeout_usec + sd_journal *j + uint64_t *timeout_usec int sd_journal_process - sd_journal* j + sd_journal *j int sd_journal_wait - sd_journal* j + sd_journal *j uint64_t timeout_usec int sd_journal_reliable_fd - sd_journal* j + sd_journal *j @@ -137,8 +137,8 @@ timeout_usec. See clock_gettime2 for details about - CLOCK_MONOTONIC. If there's no - timeout to wait for this will fill in + CLOCK_MONOTONIC. If there is no + timeout to wait for, this will fill in (uint64_t) -1 instead. Note that poll() takes a relative timeout in milliseconds rather than an absolute timeout in @@ -232,15 +232,15 @@ else { SD_JOURNAL_APPEND or SD_JOURNAL_INVALIDATE on success or a negative errno-style error code. If - SD_JOURNAL_NOP is returned the - journal didn't change since the last invocation. If - SD_JOURNAL_APPEND is returned new + SD_JOURNAL_NOP is returned, the + journal did not change since the last invocation. If + SD_JOURNAL_APPEND is returned, new entries have been appended to the end of the - journal. If SD_JOURNAL_INVALIDATE + journal. If SD_JOURNAL_INVALIDATE, journal files were added or removed (possibly due to - rotation). In the latter event live-view UIs should - probably refresh their entire display while in the - case of SD_JOURNAL_APPEND it is + rotation). In the latter event, live-view UIs should + probably refresh their entire display, while in the + case of SD_JOURNAL_APPEND, it is sufficient to simply continue reading at the previous end of the journal. @@ -253,9 +253,9 @@ else { sd_journal_reliable_fd(), sd_journal_process() and sd_journal_wait() interfaces are - available as shared library, which can be compiled and + available as a shared library, which can be compiled and linked to with the - libsystemd-journal pkg-config1 + libsystemd pkg-config1 file. @@ -330,8 +330,7 @@ int wait_for_changes(sd_journal *j) { pollfd.events = sd_journal_get_events(j); poll(&pollfd, 1, msec); return sd_journal_process(j); -} - +}