From 07c9d5f5d8171ac47f22e2cab1c0aef3b81ef404 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Sat, 26 Dec 2015 18:25:49 +0100 Subject: [PATCH] man: fix typos --- man/sd-event.xml | 2 +- man/sd_event_add_io.xml | 6 +++--- man/sd_event_exit.xml | 2 +- man/sd_event_now.xml | 2 +- man/sd_event_source_set_enabled.xml | 2 +- man/sd_event_source_set_prepare.xml | 2 +- man/sd_event_source_set_priority.xml | 2 +- man/sd_seat_get_active.xml | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/man/sd-event.xml b/man/sd-event.xml index c7d937705..7057b4e05 100644 --- a/man/sd-event.xml +++ b/man/sd-event.xml @@ -136,7 +136,7 @@ Event sources may be assigned a 64bit priority value, that controls the order in which event sources are - dispatched if multiple are pending simultanously. See + dispatched if multiple are pending simultaneously. See sd_event_source_set_priority3. The event loop may automatically send watchdog diff --git a/man/sd_event_add_io.xml b/man/sd_event_add_io.xml index 4e01d2754..010ecdbaf 100644 --- a/man/sd_event_add_io.xml +++ b/man/sd_event_add_io.xml @@ -141,14 +141,14 @@ EPOLLHUP set. By default, the I/O event source will stay enabled - continously (SD_EVENT_ON), but this may be + continuously (SD_EVENT_ON), but this may be changed with sd_event_source_set_enabled3. If the handler function returns a negative error code, it will be disabled after the invocation, even if the SD_EVENT_ON mode was requested before. Note that an I/O event source set to SD_EVENT_ON will - fire continously unless data is read or written to the file + fire continuously unless data is read or written to the file descriptor in order to reset the mask of events seen. @@ -169,7 +169,7 @@ SD_EVENT_OFF with sd_event_source_set_enabled3. - If the the second parameter of + If the second parameter of sd_event_add_io() is passed as NULL no reference to the event source object is returned. In this case the event source is considered "floating", and will be destroyed diff --git a/man/sd_event_exit.xml b/man/sd_event_exit.xml index 20ef7b10f..4a4e9a7fd 100644 --- a/man/sd_event_exit.xml +++ b/man/sd_event_exit.xml @@ -76,7 +76,7 @@ exit. The code parameter may be any integer value and is returned as-is by sd_event_loop3 - after the last event loop iteration. It may also be be queried + after the last event loop iteration. It may also be queried using sd_event_get_exit_code(), see below. diff --git a/man/sd_event_now.xml b/man/sd_event_now.xml index b4105236d..4491677c9 100644 --- a/man/sd_event_now.xml +++ b/man/sd_event_now.xml @@ -67,7 +67,7 @@ sd_event_now() returns the timestamp the most recent event loop iteration began. This timestamp is - taken right after after returning from the event sleep, and before + taken right after returning from the event sleep, and before dispatching any event sources. The event parameter takes the even loop object to retrieve the timestamp from. The clock parameter specifies the clock to diff --git a/man/sd_event_source_set_enabled.xml b/man/sd_event_source_set_enabled.xml index 1dad6f01d..dd7fa9932 100644 --- a/man/sd_event_source_set_enabled.xml +++ b/man/sd_event_source_set_enabled.xml @@ -105,7 +105,7 @@ with calls such as sd_event_add_io3, sd_event_add_time3. However, - depending on the event source type they are enabled continously + depending on the event source type they are enabled continuously (SD_EVENT_ON) or only for a single invocation of the event source handler (SD_EVENT_ONESHOT). For details see the diff --git a/man/sd_event_source_set_prepare.xml b/man/sd_event_source_set_prepare.xml index e1763e6d3..9c78ccd1d 100644 --- a/man/sd_event_source_set_prepare.xml +++ b/man/sd_event_source_set_prepare.xml @@ -71,7 +71,7 @@ Description sd_event_source_set_prepare() may be - used to set a prepartion callback for the event source object + used to set a preparation callback for the event source object specified as source. The callback function specified as callback will be invoked immediately before the event loop goes to sleep to wait for diff --git a/man/sd_event_source_set_priority.xml b/man/sd_event_source_set_priority.xml index 0f7fde203..d1acd8e65 100644 --- a/man/sd_event_source_set_priority.xml +++ b/man/sd_event_source_set_priority.xml @@ -111,7 +111,7 @@ dispatched is undefined, but the event loop generally tries to dispatch them in the order it learnt about events on them. As the backing kernel primitives do not provide accurate information - about the order in which events occured this is not necessarily + about the order in which events occurred this is not necessarily reliable. However, it is guaranteed that if events are seen on multiple same-priority event sources at the same time, each one is not dispatched again until all others have been dispatched diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 6dda53512..370cb1a8d 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -192,7 +192,7 @@ sd_seat_get_sessions(), sd_seat_can_multi_session(), sd_seat_can_tty() and - sd_seat_can_grapical() interfaces are + sd_seat_can_graphical() interfaces are available as a shared library, which can be compiled and linked to with the libelogind pkg-config1 -- 2.30.2