diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-29 08:40:38 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-29 08:40:38 +0100 |
commit | effb3b9459522083b622158190d1e52257883d12 (patch) | |
tree | efb41ff00006f9ac2a15cd9d4e9a39b14ab74bcc /doc/man | |
parent | fix manpages (diff) | |
download | bus-effb3b9459522083b622158190d1e52257883d12.tar.gz bus-effb3b9459522083b622158190d1e52257883d12.tar.bz2 bus-effb3b9459522083b622158190d1e52257883d12.tar.xz |
fix manpages
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | doc/man/bus_open.3 | 4 | ||||
-rw-r--r-- | doc/man/bus_read.3 | 11 |
2 files changed, 9 insertions, 6 deletions
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. |