>See my comment to Casper Dik - this is IMO bad for at least two reasons:
>- You have to handle the varargs overhead. The source code looks smaller
>and cleaner but I am not sure whether the resulting binary will be
>smaller

*What* varargs overhead?

        - calling strMANYcat() is shorter (generated code wise) then
          multiple calls to strcat()
        - varargs is really cheap in the called function (and the cost
          is all in a single location)



But the return value of strcat() is indeed useless.

Casper

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to