This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: putc vs. fputc


On 7/24/09, Uros Bizjak <ubizjak@gmail.com> 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 dogs" - Sicilian saying


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]