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=16aeea2dc777801cd10b4d228df3c357431ac488;hp=f3fbe69c32b18f15fdb8055904cd5fb9eabcadf8;hb=cef8b0735831b2bfeaf21d8a245d8024c3de816a;hpb=74d005783e355acc784d123024e33bbb66ef9ef1 diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml index f3fbe69c3..16aeea2dc 100644 --- a/man/sd_journal_get_fd.xml +++ b/man/sd_journal_get_fd.xml @@ -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,10 +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. @@ -331,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); -} - +}