Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 5 of 5) sorted by relevance

/libuv/src/win/
H A Dprocess-stdio.c98 static int uv__duplicate_handle(uv_loop_t* loop, HANDLE handle, HANDLE* dup) { in uv__duplicate_handle() argument
110 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_handle()
119 dup, in uv__duplicate_handle()
123 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_handle()
131 static int uv__duplicate_fd(uv_loop_t* loop, int fd, HANDLE* dup) { in uv__duplicate_fd() argument
135 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_fd()
140 return uv__duplicate_handle(loop, handle, dup); in uv__duplicate_fd()
/libuv/test/
H A Dtest-emfile.c70 first_fd = dup(0); in TEST_IMPL()
74 while (dup(0) != -1 || errno == EINTR); in TEST_IMPL()
H A Dtest-pipe-close-stdout-read-stdin.c82 r = dup(fd[0]); in TEST_IMPL()
H A Dtest-iouring-pollhup.c98 duped_fd = dup(pipefds[0]); in TEST_IMPL()
H A Dtest-spawn.c1713 dup_fd = dup(fd); in TEST_IMPL()

Completed in 12 milliseconds