Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 19:09:45 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        Tim Robbins <tjr@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Macros in <stdio.h>
Message-ID:  <20021014020945.GI95327@elvis.mu.org>
In-Reply-To: <20021014094459.A25812@dilbert.robbins.dropbear.id.au>
References:  <20021014094459.A25812@dilbert.robbins.dropbear.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help
* Tim Robbins <tjr@freebsd.org> [021013 16:49] wrote:
> Since revision 1.25 of src/include/stdio.h removed the macro versions of
> putc() and getc(), is there any reason why we shouldn't go the whole way
> and remove the rest of the macros (*_unlocked()) ?
> 
> This would let us make FILE opaque and move the definition of
> struct __sFILE into src/lib/libc/stdio/local.h. This would also let us
> remove the __sFILEX hack.

But don't we want some level of speed for stdio operations even at the
expense of some transparency?

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021014020945.GI95327>