/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | unistd.h | 30 #define F_GETFD 3 macro
|
/freebsd-11-stable/tools/regression/capsicum/syscalls/ |
H A D | cap_ioctls_limit.c | 56 CHECK(fcntl(fd, F_GETFD) == 0); 58 CHECK(fcntl(fd, F_GETFD) == FD_CLOEXEC); 60 CHECK(fcntl(fd, F_GETFD) == 0); 77 CHECK(fcntl(fd, F_GETFD) == 0); 79 CHECK(fcntl(fd, F_GETFD) == FD_CLOEXEC); 81 CHECK(fcntl(fd, F_GETFD) == 0); 97 CHECK(fcntl(fd, F_GETFD) == 0); 99 CHECK(fcntl(fd, F_GETFD) == FD_CLOEXEC); 103 CHECK(fcntl(fd, F_GETFD) == FD_CLOEXEC); 105 CHECK(fcntl(fd, F_GETFD) [all...] |
H A D | cap_fcntls_limit.c | 56 CHECK(fcntl(fd, F_GETFD) == 0); 58 CHECK(fcntl(fd, F_GETFD) == FD_CLOEXEC); 60 CHECK(fcntl(fd, F_GETFD) == 0); 80 CHECK(fcntl(fd, F_GETFD) == 0); 82 CHECK(fcntl(fd, F_GETFD) == FD_CLOEXEC); 84 CHECK(fcntl(fd, F_GETFD) == 0); 103 CHECK(fcntl(fd, F_GETFD) == 0); 105 CHECK(fcntl(fd, F_GETFD) == FD_CLOEXEC); 107 CHECK(fcntl(fd, F_GETFD) == 0); 136 CHECK(fcntl(fd, F_GETFD) [all...] |
/freebsd-11-stable/contrib/xz/src/common/ |
H A D | tuklib_open_stdxxx.c | 33 if (fcntl(i, F_GETFD) == -1 && errno == EBADF) {
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | cloexec.c | 44 ret = fcntl(fd, F_GETFD);
|
/freebsd-11-stable/tests/sys/file/ |
H A D | dup_test.c | 113 if (fcntl(fd2, F_GETFD) != 0) 160 if (fcntl(fd2, F_GETFD) == 0) 176 if (fcntl(fd2, F_GETFD) != 0) 208 if (fcntl(fd2, F_GETFD) != 0) 234 if (fcntl(fd2, F_GETFD) == 0) 262 if (fcntl(fd2, F_GETFD) != 1) 287 if (fcntl(fd2, F_GETFD) != FD_CLOEXEC) 327 if (fcntl(fd2, F_GETFD) != FD_CLOEXEC) 352 if (fcntl(fd2, F_GETFD) != 0)
|
/freebsd-11-stable/contrib/apr/include/arch/unix/ |
H A D | apr_arch_inherit.h | 30 int flags = fcntl(the##name->name##des, F_GETFD); \ 51 if ((flags = fcntl(the##name->name##des, F_GETFD)) == -1) \
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_pipe2.c | 69 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0); 70 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0); 72 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0); 73 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
|
H A D | t_socketpair.c | 81 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0); 82 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0); 84 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0); 85 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
|
/freebsd-11-stable/contrib/apr/poll/unix/ |
H A D | wakeup.c | 95 if ((flags = fcntl(wakeup_pipe[0]->filedes, F_GETFD)) == -1) 105 if ((flags = fcntl(wakeup_pipe[1]->filedes, F_GETFD)) == -1)
|
H A D | port.c | 191 if ((flags = fcntl(pollset->p->port_fd, F_GETFD)) == -1) { 482 if ((flags = fcntl(pollcb->fd, F_GETFD)) == -1) {
|
H A D | kqueue.c | 118 if ((flags = fcntl(pollset->p->kqueue_fd, F_GETFD)) == -1) { 352 if ((flags = fcntl(fd, F_GETFD)) == -1) {
|
H A D | epoll.c | 109 if ((fd_flags = fcntl(fd, F_GETFD)) == -1) { 362 if ((fd_flags = fcntl(fd, F_GETFD)) == -1) {
|
/freebsd-11-stable/contrib/apr/file_io/unix/ |
H A D | mktemp.c | 209 if ((flags = fcntl(fd, F_GETFD)) == -1)
|
H A D | filedup.c | 49 if ((flags = fcntl((*new_file)->filedes, F_GETFD)) == -1)
|
H A D | open.c | 189 if ((flags = fcntl(fd, F_GETFD)) == -1) { 391 if ((flags = fcntl(thefile->filedes, F_GETFD)) == -1)
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | mkostemp_test.c | 73 if (fcntl(fd, F_GETFD) !=
|
H A D | fopen_test.c | 55 ATF_REQUIRE_MSG((fget_ret = fcntl(fd, F_GETFD)) == exp_fget_ret, 56 "fcntl(.., F_GETFD) didn't FD_CLOEXEC as expected %d != %d",
|
/freebsd-11-stable/contrib/openbsm/libbsm/ |
H A D | bsm_fcntl.c | 46 { BSM_F_GETFD, F_GETFD },
|
/freebsd-11-stable/sys/security/audit/ |
H A D | bsm_fcntl.c | 49 { BSM_F_GETFD, F_GETFD },
|
/freebsd-11-stable/sys/sys/ |
H A D | fcntl.h | 221 #define F_GETFD 1 /* get file descriptor flags */ macro 250 /* file descriptor flags (F_GETFD, F_SETFD) */
|
/freebsd-11-stable/contrib/apr/network_io/unix/ |
H A D | sockets.c | 180 if ((flags = fcntl((*new)->socketdes, F_GETFD)) == -1) { 365 if ((flags = fcntl((*new)->socketdes, F_GETFD)) == -1) {
|
/freebsd-11-stable/lib/libc/tests/gen/ |
H A D | popen_test.c | 59 flags = fcntl(fileno(fp), F_GETFD); 60 ATF_CHECK_MSG(flags != -1, "fcntl(F_GETFD) failed; errno=%d", errno);
|
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | arc4random.c | 115 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | PipePosix.cpp | 54 int flags = ::fcntl(fd, F_GETFD);
|