table of contents
buffer_putsa(3) | Library Functions Manual | buffer_putsa(3) |
NAME¶
buffer_putsa - write stralloc to buffer
SYNTAX¶
#include <libowfat/stralloc.h> #include <libowfat/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).