You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libowfat/buffer/buffer_putflush.c

8 lines
169 B

#include "buffer.h"
int buffer_putflush(buffer* b,const char* x,size_t len) {
if (buffer_put(b,x,len)<0) return -1;
if (buffer_flush(b)<0) return -1;
return 0;
}