This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [open-source] Re: Wish for 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]