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_putnlflush - write '\n' to buffer and flush

Description

       buffer_putnlflush writes a single ASCII new-line character ('\n') to b and calls buffer_flush(b).

Name

       buffer_putnlflush - write '\n' to buffer and flush

Return Value

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

See Also

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

                                                                                            buffer_putnlflush(3)

Syntax

#include<libowfat/buffer.h>

       int buffer_putnlflush(buffer* b);

See Also