novel idea for performance optimization
Andreas Ericsson
ae at op5.se
Sun May 8 23:56:01 CEST 2005
(just a small correction)
>
> if they are written poorly enough. This could be worked around fairly
> easily by doing fdopen() on the FILE-pointer returned by popen() and
> doing some select on it.
>
This can ofcourse NOT be worked around by doing an fdopen on the FILE
pointer returned by popen(3). Something along the lines of
inline int fp_to_fd(FILE *f)
{
return f->_fileno;
}
was what I had in mind (who the hell uses fdopen() anyway?).
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
More information about the Developers
mailing list