Re: [OT] fputc vs putc Re: horrible disk thorughput on itanium

From: H. Peter Anvin (
Date: Sun Dec 09 2001 - 04:27:51 EST

Followup to: <>
By author: (Eric W. Biederman)
In newsgroup:
> fputc is a function putc is a macro because the overhead of a function call
> in writing a character has always been a problem...

putc() is frequently defined as

#define putc(__C) fputc((__C), stdout)

... or some equivalent; I think the best way to say it's that it's a


<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot."	<>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:14 EST