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