[open-source] Re: Wish for 2002 ...

Martin v. Loewis martin@v.loewis.de
Fri Jan 11 17:14:00 GMT 2002


> One approach I like very much is that of stralloc, that I first saw in
> Amanda code.  Concatenating multiple strings into a newly-allocated
> buffer created with the right size is as simple as stralloc(string1,
> string2, ..., NULL);

Notice that -liberty offers this as concat(const char* first, ...).

Regards,
Martin



More information about the Libc-alpha mailing list