crystal icon indicating copy to clipboard operation
crystal copied to clipboard

Replace some Microsoft C runtime funs with Win32 equivalents

Open HertzDevil opened this issue 4 months ago • 0 comments

Ideally we could replace the type of fd on Windows entirely, similar to how Socket#fd returns a LibC::HANDLE, in which case we could also drop _close / _dup2 / _get_osfhandle / _open_osfhandle. This isn't possible since IO::FileDescriptor#fd is public.

HertzDevil avatar Feb 22 '24 13:02 HertzDevil