aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bus_chmod.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-17 13:38:00 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-17 13:38:00 +0200
commitc1bd4ebe7f0399478a64f00272a937819566a915 (patch)
tree01c292d4f56fa272597205fbf3be6b224828ec17 /doc/bus_chmod.3
parentspecifications for timed functions + fix manpage formatting (diff)
downloadbus-c1bd4ebe7f0399478a64f00272a937819566a915.tar.gz
bus-c1bd4ebe7f0399478a64f00272a937819566a915.tar.bz2
bus-c1bd4ebe7f0399478a64f00272a937819566a915.tar.xz
mentions stat in manpages
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/bus_chmod.3')
-rw-r--r--doc/bus_chmod.37
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/bus_chmod.3 b/doc/bus_chmod.3
index 330a9d9..c2ac3f9 100644
--- a/doc/bus_chmod.3
+++ b/doc/bus_chmod.3
@@ -26,6 +26,10 @@ access to the bus. Otherwise the group should have no access.
If (\fImode\fP &S_IRWXO) others (except the group) should be given
read and write access to the bus. Otherwise others should have no
access.
+.PP
+The current permissions of a bus can be retrieved by running
+.BR stat (3)
+over the \fIpathname\fP of the bus.
.SH RETURN VALUES
Upon successful completion, the function returns 0. Otherwise the
function returns -1 and sets \fIerrno\fP to indicate the error.
@@ -48,7 +52,8 @@ as well as any errors specified for the \fIIPC_STAT\fP and
.BR bus (5),
.BR libbus (7),
.BR bus_open (3),
-.BR bus_read (3)
+.BR bus_read (3),
+.BR stat (3)
.SH AUTHORS
Principal author, Mattias Andrée. See the LICENSE file for the full
list of authors.