avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] fdevopen() uses calloc?


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] fdevopen() uses calloc?
Date: Wed, 21 Jan 2004 17:51:30 +0100 (MET)

"J.C. Wren" <address@hidden> wrote:

> What about something like this?  Create fdevopens(), which is
> basically identical to fdevopen(), except uses an internal static
> __file instance.

I rather thought about the same kind of linker trickery as it is done
for the decision between standard, full (floating-point), and minimal
printf/scanf versions.  That way, the source code would always use
fdevopen(), but the linker configuration decides which implementation
of fdevopen() to use.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]