You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
529 B
Groff

.TH buffer_puterror2 3
.SH NAME
buffer_puterror2 \- write error string to buffer and flush
.SH SYNTAX
.B #include <buffer.h>
int \fBbuffer_puterror2\fP(buffer* \fIb\fR,int \fIerrnum\fR);
.SH DESCRIPTION
buffer_puterror2 writes the error message corresponding to the error
number in \fIerrnum\fR to the buffer (e.g. "No such file or directory"
for ENOENT).
.SH "RETURN VALUE"
0 if everything is fine, -1 on error (setting \fIerrno\fR).
.SH "SEE ALSO"
buffer_puterror(3), buffer_puts(3), buffer_put(3), buffer_flush(3), buffer(3)