Write stralloc to buffer
#include <stralloc.h> #include <buffer.h> int buffer_putsa(buffer* b,stralloc* x);
buffer_putsa is equivalent to buffer_put(b,x.sa,x.len).
0 if everything is fine, -1 on error (setting errno).
buffer_puts(3), buffer_flush(3), buffer(3)