diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-04 17:38:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-04 17:38:08 +0200 |
commit | dace83cbd0c2212fc0e25d36d50711b19f14b1b6 (patch) | |
tree | c505fcc4425837fb098b1562753d469955a220be /man/sd_journal_get_fd.xml | |
parent | ee531d949c2f62374fc109252f8cbe61c2b8ee39 (diff) |
login: add new public API call sd_login_monitor_get_events() to get poll() flags to wait for
We should keep our options open, so that we can watch for POLLOUT later
on if we wish to. CUrrently this call will always return POLLIN however.
Diffstat (limited to 'man/sd_journal_get_fd.xml')
-rw-r--r-- | man/sd_journal_get_fd.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man/sd_journal_get_fd.xml b/man/sd_journal_get_fd.xml index e57431ea9e..f29aeaab23 100644 --- a/man/sd_journal_get_fd.xml +++ b/man/sd_journal_get_fd.xml @@ -115,11 +115,11 @@ below.</para> <para><function>sd_journal_get_events()</function> - will return the - <citerefentry><refentrytitle>poll</refentrytitle><manvolnum>2</manvolnum></citerefentry> - mask to wait for. This function will return a - combination of POLLIN and POLLOUT and similar to fill - into the <literal>.events</literal> field of + will return the <function>poll()</function> mask to + wait for. This function will return a combination of + <literal>POLLIN</literal> and + <literal>POLLOUT</literal> and similar to fill into + the <literal>.events</literal> field of <literal>struct pollfd</literal>.</para> <para><function>sd_journal_reliable_fd()</function> @@ -134,7 +134,7 @@ <function>sd_journal_get_fd()</function> are sufficient as only source for wake-ups.</para> - <para>After each <literal>poll()</literal> wake-up + <para>After each <function>poll()</function> wake-up <function>sd_journal_process()</function> needs to be called to process events. This call will also indicate what kind of change has been detected (see below; note @@ -169,9 +169,9 @@ errno-style error code.</para> <para><function>sd_journal_get_events()</function> - returns a combination of POLLIN, POLLOUT and suchlike - on success or a negative errno-style error - code.</para> + returns a combination of <literal>POLLIN</literal>, + <literal>POLLOUT</literal> and suchlike on success or + a negative errno-style error code.</para> <para><function>sd_journal_reliable_fd()</function> returns a positive integer if the file descriptor |