logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

buffer_puterror - write error string to buffer and flush

Description

       buffer_puterror is equivalent to calling buffer_puterror2 with errno.

Name

       buffer_puterror - write error string to buffer and flush

Return Value

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

See Also

buffer_puterror2(3), buffer_puts(3), buffer_put(3), buffer_flush(3), buffer(3)

                                                                                              buffer_puterror(3)

Syntax

#include<libowfat/buffer.h>

       int buffer_puterror(buffer* b);

See Also