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.
 
 
 
 

16 lines
275 B

  1. #include <stdarg.h>
  2. #include "stralloc.h"
  3. int stralloc_catm_internal(stralloc* sa, ...) {
  4. va_list a;
  5. const char* s;
  6. va_start(a,sa);
  7. while ((s=va_arg(a,const char*)))
  8. if (stralloc_cats(sa,s)==0) {
  9. va_end(a);
  10. return 0;
  11. }
  12. va_end(a);
  13. return 1;
  14. }