From 63d9fe0f6d146439ebf88b910fbe445eca9cadf7 Mon Sep 17 00:00:00 2001 From: Darren Ng Date: Mon, 4 Jan 2021 09:40:52 +0800 Subject: [PATCH] fix typo --- man/sd_bus_get_fd.xml | 2 +- man/sd_bus_process.xml | 2 +- man/sd_bus_wait.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/sd_bus_get_fd.xml b/man/sd_bus_get_fd.xml index 689bba6f38..7297db316f 100644 --- a/man/sd_bus_get_fd.xml +++ b/man/sd_bus_get_fd.xml @@ -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 - ppoll3 + ppoll2 instead of plain poll(), which understands timeouts with nano-second granularity). diff --git a/man/sd_bus_process.xml b/man/sd_bus_process.xml index 09b3c50dde..193c16c6a5 100644 --- a/man/sd_bus_process.xml +++ b/man/sd_bus_process.xml @@ -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 - sd_bus_process() again. For that either user the simple, synchronous + sd_bus_process() again. For that either use the simple, synchronous sd_bus_wait3 call, or hook up the bus connection object to an external or manual event loop using sd_bus_get_fd3. diff --git a/man/sd_bus_wait.xml b/man/sd_bus_wait.xml index 005602d04e..5858be1062 100644 --- a/man/sd_bus_wait.xml +++ b/man/sd_bus_wait.xml @@ -45,7 +45,7 @@ function is supposed to be called whenever sd_bus_process3 returns zero, indicating that no work is pending on the connection. Internally, this call invokes ppoll3, to wait for I/O on + project='man-pages'>ppoll2, to wait for I/O on the bus connection. If the timeout_sec parameter is specified, the call will block at most for the specified amount of time in µs. Pass UINT64_MAX to permit it to sleep indefinitely.