]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix typo
authorDarren Ng <darren19970810@gmail.com>
Mon, 4 Jan 2021 01:40:52 +0000 (09:40 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 4 Jan 2021 11:01:17 +0000 (11:01 +0000)
man/sd_bus_get_fd.xml
man/sd_bus_process.xml
man/sd_bus_wait.xml

index 689bba6f38d6fd8fb01f6d58aa6120a511f14d61..7297db316f0ec43370b3d23fd95e3d9e197f115b 100644 (file)
@@ -92,7 +92,7 @@
     care should be taken to use a division that rounds up to ensure the I/O polling operation
     doesn't sleep for shorter than necessary, which might result in unintended busy looping
     (alternatively, use
-    <citerefentry project='man-pages'><refentrytitle>ppoll</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+    <citerefentry project='man-pages'><refentrytitle>ppoll</refentrytitle><manvolnum>2</manvolnum></citerefentry>
     instead of plain <function>poll()</function>, which understands timeouts with nano-second
     granularity).</para>
 
index 09b3c50ddef674ed47ca2761973838227a35280b..193c16c6a5d456d25ae495d534e139f5a267a0a7 100644 (file)
@@ -46,7 +46,7 @@
     queued incoming messages are dispatched to registered callbacks. Each time it is invoked a single operation is
     executed. It returns zero when no operations were pending and positive if a message was processed. When zero is
     returned the caller should synchronously poll for I/O events before calling into
-    <function>sd_bus_process()</function> again. For that either user the simple, synchronous
+    <function>sd_bus_process()</function> again. For that either use the simple, synchronous
     <citerefentry><refentrytitle>sd_bus_wait</refentrytitle><manvolnum>3</manvolnum></citerefentry> call, or hook up
     the bus connection object to an external or manual event loop using
     <citerefentry><refentrytitle>sd_bus_get_fd</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
index 005602d04e0c32ff26d3abaaf3df2770608c0903..5858be106273d4f940bd691c5ba1efb14494cd61 100644 (file)
@@ -45,7 +45,7 @@
     function is supposed to be called whenever
     <citerefentry><refentrytitle>sd_bus_process</refentrytitle><manvolnum>3</manvolnum></citerefentry> returns zero,
     indicating that no work is pending on the connection. Internally, this call invokes <citerefentry
-    project='man-pages'><refentrytitle>ppoll</refentrytitle><manvolnum>3</manvolnum></citerefentry>, to wait for I/O on
+    project='man-pages'><refentrytitle>ppoll</refentrytitle><manvolnum>2</manvolnum></citerefentry>, to wait for I/O on
     the bus connection. If the <parameter>timeout_sec</parameter> parameter is specified, the call will block at most
     for the specified amount of time in µs. Pass <constant>UINT64_MAX</constant> to permit it to sleep
     indefinitely.</para>