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] |
> 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] |