Kamil Rytarowski <n54%gmx.com@localhost> writes: >> Assuming no, why should new functionality be added to libc, since >> it will encourage nonportable code. (Cleaning up previous extra >> stuff is a separate issue.) > > Do you think libutil(3) might be a better place? There are already > similar string functions, strpct(3) and strspct(3) (decimal percent > formatters). I think it's better to keep stuff out of libc unless it's specified by c99 or posix. >> Are these helper functions for some specific purpose? Perhaps >> they belong in a different library that's intended to be used >> within our tree but not by users. > > The purpose it to replace strsuftoll(3) with a new cleaner function > and deduplicate code. I want to make it available for users. The question is then under which circumstances users can reasonbly use this; portable code can't use non-standard functions.
Attachment:
signature.asc
Description: PGP signature