Ilya Zakharevich <ilya@math.ohio-state.edu> writes: >On Fri, Jul 06, 2001 at 01:46:05PM +0100, Nick Ing-Simmons wrote: >> >And the current state of FD should have been queried when PerlIO is >> >created (may be this is done already?). >> >> Querying the state needs Configure-oid probing to see how the CRTL flags >> that state. > >No need to Configure. There is win32ish.h etc. It is Configure-oid - because Borland, VC++ and Mingw32 all have different header files - so you at least need a 3-way #ifdef nest. > >> There isn't a clean API. Switching modes other than >> just-after-open is not reliable on most CRTLs. > >Existence of non-reliable CRTLs should not make it not work anywhere. Agreed. > >Ilya -- Nick Ing-Simmons http://www.ni-s.u-net.com/Thread Previous | Thread Next