[EMAIL PROTECTED] wrote:

> >Comments/suggestions/ideas welcome...
>
> Why not a varargs: strMANYcat():
>
>       strMANYcat(s, "foo", "/", "bar", NULL);
>
> (In most cases, the function call overhead dominates the "finding the
> end of string" because pushing stack frames modifies memory and
> finding the end of a string likely to be in the L1 cache is *really*
> cheap)

Why not use a name that has been in use since at least 1982.

strcatl(dest, s1, ..., NULL);

Implementation (in CDDL) see e.g. star source.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to