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.
19 lines
312 B
19 lines
312 B
/*
|
|
* Thanks to lloyd for contribution
|
|
*/
|
|
|
|
extern char concat[8192];
|
|
|
|
extern void
|
|
ccat(const unsigned short int count, ...)
|
|
{
|
|
va_list ap;
|
|
unsigned short int i;
|
|
concat[0] = '\0';
|
|
|
|
va_start(ap, count);
|
|
for(i = 0; i < count; i++)
|
|
strlcat(concat, va_arg(ap, char *), sizeof(concat));
|
|
va_end(ap);
|
|
return;
|
|
}
|
|
|