1buffer_puterror2(3)        Library Functions Manual        buffer_puterror2(3)
2
3
4

NAME

6       buffer_puterror2 - write error string to buffer and flush
7

SYNTAX

9       #include <buffer.h>
10
11       int buffer_puterror2(buffer* b,int errnum);
12

DESCRIPTION

14       buffer_puterror2  writes  the  error message corresponding to the error
15       number in errnum to the buffer (e.g. "No such file  or  directory"  for
16       ENOENT).
17

RETURN VALUE

19       0 if everything is fine, -1 on error (setting errno).
20

SEE ALSO

22       buffer_puterror(3),   buffer_puts(3),  buffer_put(3),  buffer_flush(3),
23       buffer(3)
24
25
26
27                                                           buffer_puterror2(3)
Impressum