diff options
Diffstat (limited to '')
-rw-r--r-- | doc/bus_chmod.3 | 7 |
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. |