aboutsummaryrefslogtreecommitdiff
path: root/deps/uv/src/win/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/src/win/handle.c')
-rw-r--r--deps/uv/src/win/handle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/uv/src/win/handle.c b/deps/uv/src/win/handle.c
index 738d7ff324..9d76c3f542 100644
--- a/deps/uv/src/win/handle.c
+++ b/deps/uv/src/win/handle.c
@@ -157,3 +157,7 @@ int uv_is_closing(const uv_handle_t* handle) {
uv_os_fd_t uv_get_osfhandle(int fd) {
return uv__get_osfhandle(fd);
}
+
+int uv_open_osfhandle(uv_os_fd_t os_fd) {
+ return _open_osfhandle((intptr_t) os_fd, 0);
+}