From 3461652528f1d8fec5d1a9707469bb23c904c15e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 17 Apr 2015 01:33:58 +0200 Subject: man3: errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/bus_create.3 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/bus_create.3') 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 -- cgit v1.2.3-70-g09d2