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_create.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 'doc/bus_create.3')
-rw-r--r-- | doc/bus_create.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/bus_create.3 b/doc/bus_create.3 index cfb7963..68d52cc 100644 --- a/doc/bus_create.3 +++ b/doc/bus_create.3 @@ -15,6 +15,13 @@ If and only if \fIflags\fP contains \fIBUS_INTR\fP, the function shall fail if i Unless \fIout_file\fP is \fINULL\P, the pathname of the bus should be stored in a new char array stored in \fI*out_file\fP. The caller must free the allocated stored in \fI*out_file\fP. .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 ENOMEM +The process cannot allocate more memory. +.SH + +The \fIbus_create\fP() function may also fail and set \fIerrno\fP to any of the errors specified for the rutines open(2) and write(2). .SH SEE ALSO bus-create(1), bus(5), libbus(7), bus_unlink(3), bus_open(3) .SH AUTHORS |