Home
last modified time | relevance | path

Searched refs:use_fd (Results 1 - 2 of 2) sorted by relevance

/third_party/node/deps/uv/src/unix/
H A Dprocess.c262 int use_fd; in uv__process_child_init() local
294 use_fd = pipes[fd][1]; in uv__process_child_init()
295 if (use_fd < 0 || use_fd >= fd) in uv__process_child_init()
298 pipes[fd][1] = fcntl(use_fd, F_DUPFD_CLOEXEC, stdio_count); in uv__process_child_init()
300 pipes[fd][1] = fcntl(use_fd, F_DUPFD, stdio_count); in uv__process_child_init()
313 use_fd = pipes[fd][1]; in uv__process_child_init()
315 if (use_fd < 0) { in uv__process_child_init()
322 use_fd = open("/dev/null", fd == 0 ? O_RDONLY : O_RDWR); in uv__process_child_init()
323 close_fd = use_fd; in uv__process_child_init()
519 int use_fd; uv__spawn_set_posix_spawn_file_actions() local
[all...]
/third_party/libuv/src/unix/
H A Dprocess.c283 int use_fd; in uv__process_child_init() local
315 use_fd = pipes[fd][1]; in uv__process_child_init()
316 if (use_fd < 0 || use_fd >= fd) in uv__process_child_init()
319 pipes[fd][1] = fcntl(use_fd, F_DUPFD_CLOEXEC, stdio_count); in uv__process_child_init()
321 pipes[fd][1] = fcntl(use_fd, F_DUPFD, stdio_count); in uv__process_child_init()
334 use_fd = pipes[fd][1]; in uv__process_child_init()
336 if (use_fd < 0) { in uv__process_child_init()
343 use_fd = open("/dev/null", fd == 0 ? O_RDONLY : O_RDWR); in uv__process_child_init()
344 close_fd = use_fd; in uv__process_child_init()
539 int use_fd; uv__spawn_set_posix_spawn_file_actions() local
[all...]

Completed in 3 milliseconds