Searched refs:F_GETFD (Results 26 - 50 of 55) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DPipePosix.cpp54 int flags = ::fcntl(fd, F_GETFD);
/freebsd-13-stable/lib/libc/tests/gen/
H A Dpopen_test.c59 flags = fcntl(fileno(fp), F_GETFD);
60 ATF_CHECK_MSG(flags != -1, "fcntl(F_GETFD) failed; errno=%d", errno);
/freebsd-13-stable/contrib/unbound/compat/
H A Darc4random.c115 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
H A Dgetentropy_solaris.c196 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
H A Dgetentropy_linux.c236 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
H A Dgetentropy_osx.c168 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c191 (void) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
/freebsd-13-stable/contrib/sendmail/libmilter/
H A Dlistener.c455 if ((fdflags = fcntl(sock, F_GETFD, 0)) == -1 ||
895 if ((fdflags = fcntl(connfd, F_GETFD, 0)) == -1 ||
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/common/
H A DSocket.cpp462 int flags = ::fcntl(fd, F_GETFD);
/freebsd-13-stable/libexec/atrun/
H A Datrun.c227 if ((fflags = fcntl(fd_in, F_GETFD)) <0)
/freebsd-13-stable/contrib/capsicum-test/
H A Dfcntl.cc81 // F_GETFD F_GETFD F_GETFD NONE get close-on-exec flag
187 EXPECT_OK(fcntl(caps[0], F_GETFD, 0));
H A Dcapability-fd.cc201 if (fcntl(fd, F_GETFD, 0) != 0) {
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_util.c576 flags = fcntl(fd, F_GETFD);
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c232 (void) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
/freebsd-13-stable/tests/sys/kern/
H A Dunix_passfd_test.c294 ATF_REQUIRE_EQ_MSG(fcntl(getfd, F_GETFD) & FD_CLOEXEC, FD_CLOEXEC,
/freebsd-13-stable/contrib/bmake/
H A Dmain.c404 if ((fcntl(jp_0, F_GETFD, 0) < 0) ||
405 (fcntl(jp_1, F_GETFD, 0) < 0)) {
/freebsd-13-stable/contrib/sendmail/src/
H A Dconf.c1586 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 ||
1671 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 ||
1909 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 ||
2631 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 ||
5404 if ((j = fcntl(i, F_GETFD, 0)) != -1)
/freebsd-13-stable/tests/sys/posixshm/
H A Dposixshm_test.c878 ATF_REQUIRE((fcntl(fd, F_GETFD) & FD_CLOEXEC) != 0);
884 ATF_REQUIRE((fcntl(fd, F_GETFD) & FD_CLOEXEC) != 0);
/freebsd-13-stable/lib/libsysdecode/
H A Dflags.c1021 case F_GETFD:
/freebsd-13-stable/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc1260 GTEST_DEATH_TEST_CHECK_SYSCALL_(fd_flags = fcntl(close_fd, F_GETFD));
/freebsd-13-stable/tests/sys/file/
H A Dpath_test.c512 ATF_REQUIRE_MSG(fcntl(pathfd, F_GETFD) == FD_CLOEXEC,
/freebsd-13-stable/contrib/ofed/librdmacm/
H A Dpreload.c1071 case F_GETFD:
/freebsd-13-stable/contrib/libevent/
H A Devutil.c407 if ((flags = fcntl(fd, F_GETFD, NULL)) < 0) {
408 event_warn("fcntl(%d, F_GETFD)", fd);
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Devutil.c403 if ((flags = fcntl(fd, F_GETFD, NULL)) < 0) {
404 event_warn("fcntl(%d, F_GETFD)", fd);
/freebsd-13-stable/contrib/jemalloc/src/
H A Dprof.c1689 fcntl(mfd, F_SETFD, fcntl(mfd, F_GETFD) | FD_CLOEXEC);

Completed in 339 milliseconds

123