logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

buffer_putsa - write stralloc to buffer

Description

       buffer_putsa is equivalent to buffer_put(b,x.s,x.len).

Name

       buffer_putsa - write stralloc to buffer

Return Value

       0 if everything is fine, -1 on error (setting errno).

See Also

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

                                                                                                 buffer_putsa(3)

Syntax

#include<libowfat/stralloc.h>#include<libowfat/buffer.h>

       int buffer_putsa(buffer* b,const stralloc* x);

See Also