Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | Re: [OT] fputc vs putc Re: horrible disk thorughput on itanium | Date | 9 Dec 2001 01:27:51 -0800 |
| |
Followup to: <m1d71pw51p.fsf@frodo.biederman.org> By author: ebiederm@xmission.com (Eric W. Biederman) In newsgroup: linux.dev.kernel > > 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 shorthand.
-hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |