Greetings. On Wed, 26 Dec 2012 08:29:24 +0100 Chris Hall <followingthep...@gmail.com> wrote: > On Sat, Dec 22, 2012 at 9:22 AM, Kurt Van Dijck <kurt.van.di...@eia.be> wrote: > > b) man 3 asprintf > > will eliminate 1/3 of your code > > afaik asprintf is a gnu extension and isn't posix, > although it seems that both uclib and musl support it.
That’s the reason why smprintf() does not use asprintf(). Maybe as‐ printf() will be added to some C standard which is not GNU, then sm‐ printf() could be replaced. Sincerely, Christoph Lohmann