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