Home
last modified time | relevance | path

Searched refs:F_GETFD (Results 1 – 25 of 83) sorted by relevance

1234

/netbsd-src/tests/lib/libc/sys/
H A Dt_socketpair.c77 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0); in run()
78 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0); in run()
80 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0); in run()
81 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0); in run()
H A Dt_pipe2.c65 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0); in run()
66 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0); in run()
68 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0); in run()
69 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0); in run()
H A Dt_timerfd.c769 ATF_REQUIRE((fcntl(tfd, F_GETFD) & FD_CLOEXEC) == 0);
782 ATF_REQUIRE((fcntl(tfd, F_GETFD) & FD_CLOEXEC) != 0);
784 ATF_REQUIRE((fcntl(tfd, F_GETFD) & FD_CLOEXEC) == 0);
786 ATF_REQUIRE((fcntl(tfd, F_GETFD) & FD_CLOEXEC) != 0);
H A Dt_eventfd.c795 ATF_REQUIRE((fcntl(efd, F_GETFD) & FD_CLOEXEC) == 0); in ATF_TC_BODY()
808 ATF_REQUIRE((fcntl(efd, F_GETFD) & FD_CLOEXEC) != 0); in ATF_TC_BODY()
810 ATF_REQUIRE((fcntl(efd, F_GETFD) & FD_CLOEXEC) == 0); in ATF_TC_BODY()
812 ATF_REQUIRE((fcntl(efd, F_GETFD) & FD_CLOEXEC) != 0); in ATF_TC_BODY()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dfcntl.c228 case F_GETFD: in fcntl()
285 #ifdef F_GETFD /* POSIX */ in fcntl()
286 case F_GETFD: in fcntl()
462 int flags = fcntl (fd, F_GETFD); in rpl_fcntl_DUPFD()
533 int flags = fcntl (result, F_GETFD); in rpl_fcntl_DUPFD_CLOEXEC()
578 case F_GETFD: in klibc_fcntl()
H A Dfcntl.in.h258 #ifndef F_GETFD
259 # define F_GETFD 2
H A Dcloexec.c43 int flags = fcntl (desc, F_GETFD, 0); in set_cloexec_flag()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dfcntl.d103 enum F_GETFD = 1; in version() local
403 enum F_GETFD = 1; in version() local
447 enum F_GETFD = 1;
508 enum F_GETFD = 1;
574 enum F_GETFD = 1;
662 enum F_GETFD = 1;
707 enum F_GETFD = 1;
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dfiledescriptor.c42 #elif defined(F_GETFD) in is_valid_fd()
43 return fcntl (fd, F_GETFD) >= 0; in is_valid_fd()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dfiledescriptor.c42 #elif defined(F_GETFD) in is_valid_fd()
43 return fcntl (fd, F_GETFD) >= 0; in is_valid_fd()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dfiledescriptor.c42 #elif defined(F_GETFD) in is_valid_fd()
43 return fcntl (fd, F_GETFD) >= 0; in is_valid_fd()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dfiledescriptor.c42 #elif defined(F_GETFD) in is_valid_fd()
43 return fcntl (fd, F_GETFD) >= 0; in is_valid_fd()
/netbsd-src/tests/kernel/
H A Dt_epoll.c76 ATF_REQUIRE_MSG((fcntl(fd, F_GETFD) & FD_CLOEXEC) == 0, in ATF_TC_BODY()
80 ATF_REQUIRE_MSG((fcntl(fd, F_GETFD) & FD_CLOEXEC) != 0, in ATF_TC_BODY()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Ddup2_pass_on_exec.c51 DO((res = fcntl(3, F_GETFD, 0))); in main()
H A Dclose_on_exec.c57 if ((flags = fcntl(fd, F_GETFD, 0)) < 0)
/netbsd-src/external/public-domain/xz/dist/src/common/
H A Dtuklib_open_stdxxx.c33 if (fcntl(i, F_GETFD) == -1 && errno == EBADF) { in tuklib_open_stdxxx()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dcloexec.c46 ret = fcntl(fd, F_GETFD); in rk_cloexec()
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/
H A Dfcntl.h769 #ifndef F_GETFD
770 # define F_GETFD 2 macro
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/
H A Dfcntl.h769 #ifndef F_GETFD
770 # define F_GETFD 2 macro
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/
H A Dfcntl.h769 #ifndef F_GETFD
770 # define F_GETFD 2 macro
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/
H A Dfcntl.h769 #ifndef F_GETFD
770 # define F_GETFD 2 macro
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/
H A Dfcntl.h769 #ifndef F_GETFD
770 # define F_GETFD 2 macro
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/
H A Dfcntl.h769 #ifndef F_GETFD
770 # define F_GETFD 2 macro
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/
H A Dfcntl.h769 #ifndef F_GETFD
770 # define F_GETFD 2 macro
/netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/
H A Dfcntl.h769 #ifndef F_GETFD
770 # define F_GETFD 2 macro

1234