aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bus_unlink.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-17 13:29:35 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-17 13:29:35 +0200
commit31403008097ad8137fc70df22ab41a84e146446a (patch)
treee40e4c3bce6c51ada8ff7c129ad183efc24e81b2 /doc/bus_unlink.3
parentadd -x option to create command, and -n option to broadcast command (diff)
downloadbus-31403008097ad8137fc70df22ab41a84e146446a.tar.gz
bus-31403008097ad8137fc70df22ab41a84e146446a.tar.bz2
bus-31403008097ad8137fc70df22ab41a84e146446a.tar.xz
specifications for timed functions + fix manpage formatting
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/bus_unlink.3')
-rw-r--r--doc/bus_unlink.330
1 files changed, 20 insertions, 10 deletions
diff --git a/doc/bus_unlink.3 b/doc/bus_unlink.3
index 625b308..83ec760 100644
--- a/doc/bus_unlink.3
+++ b/doc/bus_unlink.3
@@ -2,12 +2,15 @@
.SH NAME
bus_unlink - Remove a bus
.SH SYNOPSIS
+.LP
+.nf
#include <bus.h>
-
-int bus_unlink(const char *file);
+.P
+int bus_unlink(const char *\fIfile\fP);
+.fi
.SH DESCRIPTION
The
-.BR bus_unlink(3)
+.BR bus_unlink ()
function removes the bus assoicated with the pathname stored in
\fIfile\fP. The function also unlinks the file.
.SH RETURN VALUES
@@ -25,17 +28,24 @@ Operation permission is denied to the calling process.
The user does not have permission to remove the bus.
.PP
The
-.BR bus_unlink(3)
+.BR bus_unlink (3)
function may also fail and set \fIerrno\fP to any of the errors
specified for the routines
-.BR unlink(2),
-.BR open(2),
-.BR semget(3)
+.BR unlink (2),
+.BR open (2),
+.BR semget (3)
and
-.BR shmget(3).
+.BR shmget (3).
.SH SEE ALSO
-bus-create(1), bus(5), libbus(7), bus_create(3), bus_close(3),
-unlink(2), open(2), semget(3) and shmget(3)
+.BR bus-create (1),
+.BR bus (5),
+.BR libbus (7),
+.BR bus_create (3),
+.BR bus_close (3),
+.BR unlink (2),
+.BR open (2),
+.BR semget (3),
+.BR shmget (3)
.SH AUTHORS
Principal author, Mattias Andrée. See the LICENSE file for the full
list of authors.