aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bus_chown.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_chown.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_chown.3')
-rw-r--r--doc/bus_chown.37
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/bus_chown.3 b/doc/bus_chown.3
index 186e937..fcde96b 100644
--- a/doc/bus_chown.3
+++ b/doc/bus_chown.3
@@ -13,6 +13,10 @@ The
.BR bus_chown ()
function change the owner and the group of the bus associated with
\fIfile\fP to the \fIowner\fP and \fIgroup\fP, respectively.
+.PP
+The current ownership 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.
@@ -35,7 +39,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.