From c1bd4ebe7f0399478a64f00272a937819566a915 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 May 2015 13:38:00 +0200 Subject: mentions stat in manpages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/bus_chmod.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/bus_chmod.3') 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. -- cgit v1.2.3-70-g09d2