debian man page for buffer_puterror2

Query: buffer_puterror2

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

buffer_puterror2(3)					     Library Functions Manual					       buffer_puterror2(3)

NAME
buffer_puterror2 - write error string to buffer and flush
SYNTAX
#include <buffer.h> int buffer_puterror2(buffer* b,int errnum);
DESCRIPTION
buffer_puterror2 writes the error message corresponding to the error number in errnum to the buffer (e.g. "No such file or directory" for ENOENT).
RETURN VALUE
0 if everything is fine, -1 on error (setting errno).
SEE ALSO
buffer_puterror(3), buffer_puts(3), buffer_put(3), buffer_flush(3), buffer(3) buffer_puterror2(3)
Related Man Pages
strerror(3c) - opensolaris
strerror_r(3) - redhat
errno(3c) - hpux
sys_errlist(3c) - hpux
strerror(3) - osf1
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Introduction
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections
My first PERL incarnation... Audio Oscillograph