| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_socketpair.c | 77 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 D | t_pipe2.c | 65 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 D | t_timerfd.c | 769 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 D | t_eventfd.c | 795 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 D | fcntl.c | 228 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 D | fcntl.in.h | 258 #ifndef F_GETFD 259 # define F_GETFD 2
|
| H A D | cloexec.c | 43 int flags = fcntl (desc, F_GETFD, 0); in set_cloexec_flag()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
| H A D | fcntl.d | 103 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 D | filedescriptor.c | 42 #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 D | filedescriptor.c | 42 #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 D | filedescriptor.c | 42 #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 D | filedescriptor.c | 42 #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 D | t_epoll.c | 76 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 D | dup2_pass_on_exec.c | 51 DO((res = fcntl(3, F_GETFD, 0))); in main()
|
| H A D | close_on_exec.c | 57 if ((flags = fcntl(fd, F_GETFD, 0)) < 0)
|
| /netbsd-src/external/public-domain/xz/dist/src/common/ |
| H A D | tuklib_open_stdxxx.c | 33 if (fcntl(i, F_GETFD) == -1 && errno == EBADF) { in tuklib_open_stdxxx()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | cloexec.c | 46 ret = fcntl(fd, F_GETFD); in rk_cloexec()
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/ |
| H A D | fcntl.h | 769 #ifndef F_GETFD 770 # define F_GETFD 2 macro
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/ |
| H A D | fcntl.h | 769 #ifndef F_GETFD 770 # define F_GETFD 2 macro
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/ |
| H A D | fcntl.h | 769 #ifndef F_GETFD 770 # define F_GETFD 2 macro
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/ |
| H A D | fcntl.h | 769 #ifndef F_GETFD 770 # define F_GETFD 2 macro
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/ |
| H A D | fcntl.h | 769 #ifndef F_GETFD 770 # define F_GETFD 2 macro
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/ |
| H A D | fcntl.h | 769 #ifndef F_GETFD 770 # define F_GETFD 2 macro
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/ |
| H A D | fcntl.h | 769 #ifndef F_GETFD 770 # define F_GETFD 2 macro
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/ |
| H A D | fcntl.h | 769 #ifndef F_GETFD 770 # define F_GETFD 2 macro
|