On 07/24/2009 02:06 PM, Martin Guy wrote:
The source of gcc uses both, fputc and putc. I would like to do some
janitorial work and change fputc to putc.
putc and fputc have different semantics:
fputc is guaranteed to be a function while putc may be a macro.
True, but does this
On 7/24/09, Uros Bizjak wrote:
> The source of gcc uses both, fputc and putc. I would like to do some
> janitorial work and change fputc to putc.
putc and fputc have different semantics:
fputc is guaranteed to be a function while putc may be a macro.
M
"He who has nothing to do, combs dog
Hello!
The source of gcc uses both, fputc and putc. I would like to do some
janitorial work and change fputc to putc.
The reason is, that in system.h, both of them get redefined to the
corresponding unlock function:
# ifdef HAVE_PUTC_UNLOCKED
# undef putc
# define putc(C, Stream) putc_unlocked