Home
last modified time | relevance | path

Searched refs:close_fd (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dprocess.c261 int close_fd; in uv__process_child_init() local
312 close_fd = -1; in uv__process_child_init()
323 close_fd = use_fd; in uv__process_child_init()
331 if (close_fd == -1) { in uv__process_child_init()
344 if (fd <= 2 && close_fd == -1) in uv__process_child_init()
347 if (close_fd >= stdio_count) in uv__process_child_init()
348 uv__close(close_fd); in uv__process_child_init()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/
H A Dgtest-death-test.cc1225 int close_fd; // File descriptor to close; the read end of a pipe member
1248 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); in ExecDeathTestChildMain()
1313 static pid_t ExecDeathTestSpawnChild(char* const* argv, int close_fd) { in ExecDeathTestSpawnChild() argument
1314 ExecDeathTestArgs args = { argv, close_fd }; in ExecDeathTestSpawnChild()
1337 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD)); in ExecDeathTestSpawnChild()
1338 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(close_fd, F_SETFD, in ExecDeathTestSpawnChild()
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-close-fd.c51 TEST_IMPL(close_fd) { in TEST_IMPL() argument
H A Dtest-list.h474 TEST_DECLARE (close_fd)
974 TEST_ENTRY (close_fd)
/netbsd-src/bin/ksh/
H A Djobs.c429 exchild(t, flags, close_fd) in exchild() argument
432 int close_fd; /* used if XPCLOSE or XCCLOSE */
585 if (close_fd >= 0 && (((flags & XPCLOSE) && !ischild)
587 close(close_fd);
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20161159 * src/filesystem/ops.cc (close_fd): Remove.
1160 (do_copy_file): Just use close(3) instead of close_fd, to prevent
9195 * src/filesystem/ops.cc (close_fd): New function.