Logo Search packages:      
Sourcecode: bglibs version File versions

int str_catns ( str s,
unsigned int  count,
  ... 
)

Append N C strings

Definition at line 23 of file catns.c.

References str_cats().

{
  const char* ptr;
  va_list ap;
  va_start(ap, count);
  while (count-- > 0) {
    if ((ptr = va_arg(ap, const char*)) != 0)
      if (!str_cats(s, ptr))
      return 0;
  }
  va_end(ap);
  return 1;
}


Generated by  Doxygen 1.6.0   Back to index