On 2/15/09, Marcin Cieslak <[email protected]> wrote: > Enno "Gottox" Boland <[email protected]> wrote: >> - fprintf(stderr, "warning: no locale support\n"); >> + fputs("warning: no locale support\n", stderr); > > Depends on a code style one likes. To quote FreeBSD's style(9): > > Use printf(3), not fputs(3), puts(3), putchar(3), whatever; it is > faster > and usually cleaner, not to mention avoiding stupid bugs.
yes, depends on who you ask, from dietlibc FAQ: Q: When linking binaries, I get warnings about stdio and printf all the time. What gives? A: Since the diet libc was written to make writing small programs possible, it also tries to assist in the process of seeing causes of bloat. Premier causes for bloat are stdio and the printf family of functions...
