Why does perl need internal CRT structures in Win32?

Biswapriyo Nath <[email protected]>
Newsgroups gmane.comp.lang.perl.beginners
Message-ID <CALK-3mJZ96Rz5NRzf6NaU17ADpHDLPdRsF=nGg9smLOcqFMOmg@mail.gmail.com>
The issue arises when perl is compiled with GCC and UCRT (Universal C
RunTime). The UCRT is different than older MSVCT. There are many
internal undocumented structures in whole win32 directory. In public
WinSDK, those are just opaque or should be accessed with public APIs.
For example,

1. the __crt_stdio_stream_data structure is used as _iobuf or FILE.
Instead it should be accessed with _fileno.
2. the ioinfo structure is used to get/set standard I/O handles.
Instead it should be accessed with _get_osfhandle.

So, my question, is it possible not to use those internal structure
but use public documneted APIs instead?

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.