diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-17 01:33:58 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-17 01:33:58 +0200 |
commit | 3461652528f1d8fec5d1a9707469bb23c904c15e (patch) | |
tree | a7e925174a2db81f71ae5827a9cc17270fa700ee /doc/bus_unlink.3 | |
parent | add man3 (diff) | |
download | bus-3461652528f1d8fec5d1a9707469bb23c904c15e.tar.gz bus-3461652528f1d8fec5d1a9707469bb23c904c15e.tar.bz2 bus-3461652528f1d8fec5d1a9707469bb23c904c15e.tar.xz |
man3: errors
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | doc/bus_unlink.3 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bus_unlink.3 b/doc/bus_unlink.3 index f1bc947..ef7cf30 100644 --- a/doc/bus_unlink.3 +++ b/doc/bus_unlink.3 @@ -9,6 +9,19 @@ int bus_unlink(const char *file); The \fIbus_unlink\fP function shall remove the bus assoicated with the pathname stored in \fIfile\fP. The \fIbus_unlink\fP function shall also unlink the file. .SH RETURN VALUES Upon successful completion, the function shall return 0. Otherwise the function shall return -1 and set \fIerrno\fP to indicate the error. +.SH ERRORS +.TP +.IR EINVAL +The bus does not exist. +.TP +.IR EACCES +Operation permission is denied to the calling process. +.TP +.IR EPERM +The user does not have permission to remove the bus. +.SH + +The \fIbus_unlink\fP() function may also fail and set \fIerrno\fP to any of the errors specified for the rutines unlink(2), open(2), semget(3) and shmget(3). .SH SEE ALSO bus-create(1), bus(5), libbus(7), bus_create(3), bus_close(3) .SH AUTHORS |