man buffer_putflush () - write binary data to buffer and flush

NAME

buffer_putflush - write binary data to buffer and flush

SYNTAX

#include <buffer.h>

int buffer_putflush(buffer* b, const char* x,unsigned long int 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