buffer_putsaflush - Man Page
write stralloc to buffer and flush
Syntax
#include <stralloc.h> #include <buffer.h> int buffer_putsaflush(buffer* b,const stralloc* x);
Description
buffer_putsaflush is equivalent to buffer_putflush(b,x.s,x.len).
Return Value
0 if everything is fine, -1 on error (setting errno).