X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_login_monitor_new.xml;h=ba6623826fd114235e2283fa6759d66be398475d;hp=c7650e6ba3a838af6a082c277934dd1baf0b683e;hb=308d72dc1e2106f94ae637e2ea510e8d466d2af1;hpb=74d005783e355acc784d123024e33bbb66ef9ef1 diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index c7650e6ba..ba6623826 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -59,34 +59,34 @@ int sd_login_monitor_new - const char* category - sd_login_monitor** ret + const char *category + sd_login_monitor **ret - sd_login_monitor* sd_login_monitor_unref - sd_login_monitor* m + sd_login_monitor *sd_login_monitor_unref + sd_login_monitor *m int sd_login_monitor_flush - sd_login_monitor* m + sd_login_monitor *m int sd_login_monitor_get_fd - sd_login_monitor* m + sd_login_monitor *m int sd_login_monitor_get_events - sd_login_monitor* m + sd_login_monitor *m int sd_login_monitor_get_timeout - sd_login_monitor* m - uint64_t* timeout_usec + sd_login_monitor *m + uint64_t *timeout_usec @@ -129,7 +129,7 @@ object. Whenever an event causes the monitor to wake up the event loop via the file descriptor this function needs to be called to reset the wake-up - state. If this call is not invoked the file descriptor + state. If this call is not invoked, the file descriptor will immediately wake up the event loop again. sd_login_monitor_get_fd() @@ -167,7 +167,7 @@ timeout_usec. See clock_gettime2 for details about - CLOCK_MONOTONIC. If there's no + 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 @@ -198,13 +198,13 @@ else { Return Value - On success + On success, sd_login_monitor_new(), sd_login_monitor_flush() and sd_login_monitor_get_timeout() - return 0 or a positive integer. On success + return 0 or a positive integer. On success, sd_login_monitor_get_fd() returns - a Unix file descriptor. On success + a Unix file descriptor. On success, sd_login_monitor_get_events() returns a combination of POLLIN, POLLOUT and suchlike. On failure, @@ -224,10 +224,9 @@ else { sd_login_monitor_get_fd(), sd_login_monitor_get_events() and sd_login_monitor_get_timeout() - 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-login - pkg-config1 + libsystemd pkg-config1 file.