X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_login_monitor_new.xml;h=ba6623826fd114235e2283fa6759d66be398475d;hb=e6c253e363dee77ef7e5c5f44c4ca55cded3fd47;hp=e93f93f9ce717186c4e1ba269891894f4fc66482;hpb=1e158d273bb63883566358cbb886cd4167421df6;p=elogind.git
diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml
index e93f93f9c..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,9 +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.