EV_FD_TO_WIN32_HANDLE on Windows

Alexey Borzenkov snaury at gmail.com
Sat Mar 8 09:06:30 CET 2014


Hi Mikkel,

On Sat, Mar 8, 2014 at 12:04 PM, Mikkel Kroman <mk at uplink.io> wrote:
> That's very interesting -- I assumed that _get_osfhandle would simply return
> a valid file descriptor for a given handle, with no need to open it first.

It's the other way around, this function is to "get os file handle"
given a file descriptor.

> Using _open_osfhandle worked!

Glad I could help! :)

Best regards,
Alexey.



More information about the libev mailing list