buffer_putnlflush - Man Page

write '\n' to buffer and flush

Syntax

#include <buffer.h>

int buffer_putnlflush(buffer* b);

Description

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

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)