buffer_putsalign man page

buffer_putsalign — write ASCIIZ string to buffer

Syntax

#include <buffer.h>

int buffer_putsalign(buffer* b,const char* x);

Description

buffer_putsalign is like buffer_putalign with len determined as the number of bytes before the first \0 in x.

Return Value

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

See Also

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

Referenced By

buffer_putalign(3), buffer_putm(3), buffer_puts(3).