(printf) ("hello world\n");

Segher Boessenkool segher@kernel.crashing.org
Wed Dec 10 13:12:00 GMT 2003


On 10-dec-03, at 13:27, Robert Dewar wrote:
> Is it really true that the name printf is reserved? Is a C program not
> allowed to define its own printf function (which might or might not be
> varargs)? What's the story here?

It is reserved only in translation units that have stdio.h #include'd.


Segher



More information about the Gcc mailing list