Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
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.
 
 
 
 

17 lines
293 B

#include <stdarg.h>
#include "buffer.h"
int buffer_putm_internal_flush(buffer* b, ...) {
int r=0;
va_list a;
const char* s;
va_start(a,b);
while ((s=va_arg(a,const char*)))
if (buffer_puts(b,s)==-1) {
r=-1;
break;
}
va_end(a);
buffer_flush(b);
return r;
}