aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-29 08:40:38 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-29 08:40:38 +0100
commiteffb3b9459522083b622158190d1e52257883d12 (patch)
treeefb41ff00006f9ac2a15cd9d4e9a39b14ab74bcc
parentfix manpages (diff)
downloadbus-effb3b9459522083b622158190d1e52257883d12.tar.gz
bus-effb3b9459522083b622158190d1e52257883d12.tar.bz2
bus-effb3b9459522083b622158190d1e52257883d12.tar.xz
fix manpages
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--doc/man/bus_open.34
-rw-r--r--doc/man/bus_read.311
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.