man buffer_putsaflush () - write stralloc to buffer and flush

NAME

buffer_putsa - write stralloc to buffer and flush

SYNTAX

#include <stralloc.h>
#include <buffer.h>

int buffer_putsaflush(buffer* b,const char* x);

DESCRIPTION

buffer_putsaflush is equivalent to buffer_putflush(b,x.sa,x.len).

RETURN VALUE

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

SEE ALSO