buffer_putsa(3) | Library Functions Manual | buffer_putsa(3) |
buffer_putsa - write stralloc to buffer
#include <stralloc.h> #include <buffer.h> int buffer_putsa(buffer* b,const stralloc* x);
buffer_putsa is equivalent to buffer_put(b,x.s,x.len).
0 if everything is fine, -1 on error (setting errno).