Closed
Description
Is it safe to use a native add-on to open a file, and then pass the file descriptor to methods of the fs
module?
My concern is especially for Windows. Will everything just work because Libuv uses uv__get_osfhandle
?
Usually, people want to open a file in Node, and pass the file descriptor to a native add-on and this used to give problems on Windows before uv__get_osfhandle
was made public.