From effb3b9459522083b622158190d1e52257883d12 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 29 Nov 2015 08:40:38 +0100 Subject: fix manpages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/man/bus_open.3 | 4 ++-- doc/man/bus_read.3 | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/man/bus_open.3 b/doc/man/bus_open.3 index f20ceba..683ae9b 100644 --- a/doc/man/bus_open.3 +++ b/doc/man/bus_open.3 @@ -13,8 +13,8 @@ The .BR bus_open () function acquires resources required for the process to use the bus associated with the filename stored in \fIfile\fP. The function also -stores the resource \fIbus\fP for use by other -.BR bus () +stores the resources in \fIbus\fP for use by other +.BR bus functions. .PP Values for \fIflags\fP are constructed by a bitwise inclusive OR of diff --git a/doc/man/bus_read.3 b/doc/man/bus_read.3 index 0bea94a..1caadfb 100644 --- a/doc/man/bus_read.3 +++ b/doc/man/bus_read.3 @@ -20,8 +20,11 @@ function waits for new message to be sent on the bus specified in function. Once a message is received, the \fIcallback\fP function is invoked. The \fImessage\fP argument to the callback is the received message, and \fIuser_data\fP for \fIcallback\fP should be -\fIuser_data\fP from \fIbus_read\fP. However, once \fIbus_read\fP has -ensured that it will receive any message sent on the bus, it shall +\fIuser_data\fP from +.BR bus_read (). +However, once +.BR bus_read () +has ensured that it will receive any message sent on the bus, it shall invoke the \fIcallback\fP function with \fImessage\fP set to \fINULL\fP, to notify the process that it can perform any action that requires that it is listening on the bus. @@ -40,8 +43,8 @@ The function behaves like .BR bus_read (), except it will automatically fail and set \fIerrno\fP to \fBEAGAIN\fP -when the time specified specified time has passed. The time is specified -as an absolute time using the parameter \fItimeout\fP. The behaviour is +when the specified time has passed. The time is specified as an +absolute time using the parameter \fItimeout\fP. The behaviour is unspecified if \fItimeout\fP is \fINULL\fP. \fItimeout\fP is measured with the clock whose ID is specified by the \fIclockid\fP parameter. This clock must be a predicitable clock. -- cgit v1.2.3-70-g09d2