chiark / gitweb /
doc: grammatical corrections
[elogind.git] / man / sd_event_add_time.xml
index 9af8bb9c45503bd449b7297a92d64923e565b4bb..dc25784388a7f50ad14d98c5987f324ddf51ef72 100644 (file)
@@ -65,13 +65,13 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
         <paramdef>uint64_t <parameter>usec</parameter></paramdef>
         <paramdef>uint64_t <parameter>accuracy</parameter></paramdef>
         <paramdef>sd_event_time_handler_t <parameter>handler</parameter></paramdef>
-        <paramdef>void<parameter>userdata</parameter></paramdef>
+        <paramdef>void *<parameter>userdata</parameter></paramdef>
       </funcprototype>
 
       <funcprototype>
         <funcdef>int <function>sd_event_source_get_time</function></funcdef>
         <paramdef>sd_event_source *<parameter>source</parameter></paramdef>
-        <paramdef>usec_t<parameter>usec</parameter></paramdef>
+        <paramdef>usec_t *<parameter>usec</parameter></paramdef>
       </funcprototype>
 
       <funcprototype>
@@ -121,7 +121,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     accuracy value in microseconds specifying a time the timer event
     may be delayed. Specify 0 for selecting the default accuracy
     (250ms). Specify 1 for most accurate timers. Consider specifying
-    60000000 or larger (1h) for long running events that may be
+    60000000 or larger (1h) for long-running events that may be
     delayed substantially. Picking higher accuracy values allows the
     system to coalesce timer events more aggressively, thus improving
     power efficiency. The <parameter>handler</parameter> shall
@@ -132,10 +132,10 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
     actually have been called at a slightly later time, subject to the
     specified accuracy value, the kernel timer slack (see
     <citerefentry><refentrytitle>prctl</refentrytitle><manvolnum>2</manvolnum></citerefentry>)
-    and additional scheduling latencies. By default the timer will
+    and additional scheduling latencies. By default, the timer will
     elapse once (SD_EVENT_ONESHOT), but this may be changed with
     <citerefentry><refentrytitle>sd_event_source_set_enabled</refentrytitle><manvolnum>3</manvolnum></citerefentry>. If
-    the handler function returns a negative error code it will be
+    the handler function returns a negative error code, it will be
     disabled after the invocation, even if SD_EVENT_ON mode is set.
     </para>