Sponsor:

Your company here, and a link to your site. Click to find out more.

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).

See Also

buffer_puts(3), buffer_flush(3), buffer(3)