DragonFly On-Line Manual Pages

Search: Section:  


buffer_putnlflush(3)  DragonFly Library Functions Manual  buffer_putnlflush(3)

NAME

buffer_putnlflush - 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) buffer_putnlflush(3)

Search: Section: