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

RELATED TO buffer_putsalign…