Skip to content

No access to uv_get_osfhandle from N-API #318

Closed
@primeare

Description

@primeare

The problem is that file descriptors returned by Node.js cannot be used to convert them into Windows file handlers (for instance using _get_osfhandle from Windows API). That problem was disscussed before in issues: node#6369 and libuv#1323. Libuv team has made uv__get_osfhandle function public to use inside of native addons, and I think this function solves the problem, but there is no port of this function into N-API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions