buffer_putflush - Man Page

write binary data to buffer and flush

Syntax

#include <buffer.h>

int buffer_putflush(buffer* b,
                   const char* x,size_t len);

Description

buffer_putflush is similar to calling buffer_put(b,x,len) and then buffer_flush(b).

Return Value

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

See Also

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