Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Dec 2001 04:28:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Dec 2001 04:28:22 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:34053 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Sun, 9 Dec 2001 04:28:09 -0500 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: [OT] fputc vs putc Re: horrible disk thorughput on itanium Date: 9 Dec 2001 01:27:51 -0800 Organization: Transmeta Corporation, Santa Clara CA Message-ID: <9uvaqn$u4s$1@cesium.transmeta.com> In-Reply-To: <20011207.130316.39156883.davem@redhat.com> <20011208201907.A937@zero> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Disclaimer: Not speaking for Transmeta in any way, shape, or form. Copyright: Copyright 2001 H. Peter Anvin - All Rights Reserved Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Followup to: 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 -- at work, in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - 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/