aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/bus-wait.1
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-28 23:44:00 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-28 23:44:00 +0100
commitd26658642e018e36e848caa7d7587a213808913b (patch)
tree8fd12037ab8c61a7a2e33ca1e7a59a106d3947b2 /doc/man/bus-wait.1
parentman: broadcast 0 instead of pid if ephemeral (diff)
downloadbus-d26658642e018e36e848caa7d7587a213808913b.tar.gz
bus-d26658642e018e36e848caa7d7587a213808913b.tar.bz2
bus-d26658642e018e36e848caa7d7587a213808913b.tar.xz
move manpages from doc/ to doc/man/
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/man/bus-wait.1')
-rw-r--r--doc/man/bus-wait.133
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/man/bus-wait.1 b/doc/man/bus-wait.1
new file mode 100644
index 0000000..4231cd0
--- /dev/null
+++ b/doc/man/bus-wait.1
@@ -0,0 +1,33 @@
+.TH BUS-WAIT 1 BUS-%VERSION%
+.SH NAME
+bus wait - Listen for a new message on a bus
+.SH SYNOPSIS
+.B bus wait
+[--]
+.IR pathname
+.IR command
+.SH DESCRIPTION
+Listen for a new message on the bus associated with \fIpathname\fP, stop
+listening once a message has been received. Once a message is received,
+\fIcommand\fP will be spawned with \fI$msg\fP set to the received
+message. POSIX shell syntax applies to \fIcommand\fP.
+.SH EXIT STATUS
+.TP
+0
+The command was successful.
+.TP
+1
+The command failed.
+.TP
+2
+The command is not recognised.
+.SH SEE ALSO
+.BR bus (5)
+.SH AUTHORS
+Principal author, Mattias Andrée. See the LICENSE file for the full
+list of authors.
+.SH LICENSE
+MIT/X Consortium License.
+.SH BUGS
+Please report bugs to https://github.com/maandree/bus/issues or to
+maandree@member.fsf.org