/freebsd-10.1-release/sys/ofed/include/asm/ |
H A D | fcntl.h | 32 #include <sys/fcntl.h>
|
/freebsd-10.1-release/tools/regression/capsicum/syscalls/ |
H A D | cap_fcntls_limit.c | 56 CHECK(fcntl(fd, F_GETFD) == 0); 57 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0); 58 CHECK(fcntl(fd, F_GETFD) == FD_CLOEXEC); 59 CHECK(fcntl(fd, F_SETFD, 0) == 0); 60 CHECK(fcntl(fd, F_GETFD) == 0); 62 CHECK(fcntl(fd, F_GETFL) == O_RDWR); 63 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == 0); 64 CHECK(fcntl(fd, F_GETFL) == (O_RDWR | O_NONBLOCK)); 65 CHECK(fcntl(fd, F_SETFL, 0) == 0); 66 CHECK(fcntl(f [all...] |
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); 104 CHECK(fcntl(f [all...] |
/freebsd-10.1-release/cddl/compat/opensolaris/include/ |
H A D | fcntl.h | 33 #include_next <fcntl.h>
|
H A D | solaris.h | 8 #include <fcntl.h>
|
H A D | libproc.h | 33 #include <fcntl.h>
|
/freebsd-10.1-release/tools/regression/ccd/layout/ |
H A D | b.c | 4 #include <fcntl.h>
|
/freebsd-10.1-release/contrib/xz/src/common/ |
H A D | tuklib_open_stdxxx.c | 18 # include <fcntl.h> 32 // We use fcntl() to check if the file descriptor is open. 33 if (fcntl(i, F_GETFD) == -1 && errno == EBADF) {
|
/freebsd-10.1-release/crypto/heimdal/lib/roken/ |
H A D | cloexec.c | 44 ret = fcntl(fd, F_GETFD); 47 if (fcntl(fd, F_SETFD, ret | FD_CLOEXEC) == -1)
|
/freebsd-10.1-release/tools/regression/file/fcntlflags/ |
H A D | fcntlflags.c | 31 #include <fcntl.h> 55 flags1 = fcntl(fd, F_GETFL); 57 printf("not ok %d - fcntl(F_GETFL) failed\n", testnum++); 59 printf("ok %d - fcntl(F_GETFL) gave correct result\n", 62 printf("not ok %d - fcntl(F_GETFL) gave incorrect result " 65 if (fcntl(fd, F_SETFL, flags1) == -1) 66 printf("not ok %d - fcntl(F_SETFL) same flags failed\n", 69 printf("ok %d - fcntl(F_SETFL) same flags succeeded\n", 71 flags2 = fcntl(fd, F_GETFL); 73 printf("not ok %d - fcntl(F_GETF [all...] |
/freebsd-10.1-release/usr.bin/make/ |
H A D | proc.c | 34 #include <fcntl.h> 93 fcntl(STDIN_FILENO, F_SETFD, 94 fcntl(STDIN_FILENO, F_GETFD) & (~FD_CLOEXEC)); 95 fcntl(STDOUT_FILENO, F_SETFD, 96 fcntl(STDOUT_FILENO, F_GETFD) & (~FD_CLOEXEC)); 97 fcntl(STDERR_FILENO, F_SETFD, 98 fcntl(STDERR_FILENO, F_GETFD) & (~FD_CLOEXEC));
|
/freebsd-10.1-release/tools/regression/filemon/ |
H A D | filemontest.c | 37 #include <fcntl.h> 65 (void)fcntl(fm_fd, F_SETFD, FD_CLOEXEC); 66 (void)fcntl(fm_log, F_SETFD, FD_CLOEXEC);
|
/freebsd-10.1-release/tools/regression/file/dup/ |
H A D | dup.c | 19 * Test #8: check if fcntl(F_DUPFD) works. 20 * Test #9: check if fcntl(F_DUPFD) cleared close-on-exec flag for duped fd. 23 * Test #11: check if fcntl(F_DUP2FD) works. 24 * Test #12: check if fcntl(F_DUP2FD) returned a fd we asked for. 25 * Test #13: check if fcntl(F_DUP2FD) cleared close-on-exec flag for duped fd. 26 * Test #14: check if fcntl(F_DUP2FD) allows to dup fd to itself. 27 * Test #15: check if fcntl(F_DUP2FD) returned a fd we asked for. 28 * Test #16: check if fcntl(F_DUP2FD) did not clear close-on-exec flag for 30 * Test #17: check if fcntl(F_DUP2FD) to a fd > current maximum number of open 32 * Test #18: check if fcntl(F_DUPFD_CLOEXE [all...] |
/freebsd-10.1-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_inherit.h | 30 int flags = fcntl(the##name->name##des, F_GETFD); \ 34 if (fcntl(the##name->name##des, F_SETFD, flags) == -1) \ 51 if ((flags = fcntl(the##name->name##des, F_GETFD)) == -1) \ 54 if (fcntl(the##name->name##des, F_SETFD, flags) == -1) \
|
/freebsd-10.1-release/contrib/ipfilter/ |
H A D | ipt.h | 23 #include <fcntl.h>
|
/freebsd-10.1-release/contrib/ipfilter/lib/ |
H A D | printtqtable.c | 7 #include <fcntl.h>
|
/freebsd-10.1-release/lib/libc/compat-43/ |
H A D | creat.c | 37 #include <fcntl.h>
|
/freebsd-10.1-release/lib/libkse/thread/ |
H A D | thr_close.c | 36 #include <fcntl.h>
|
H A D | thr_creat.c | 33 #include <fcntl.h>
|
H A D | thr_fcntl.c | 34 #include <fcntl.h> 42 __weak_reference(__fcntl, fcntl);
|
/freebsd-10.1-release/sys/ofed/include/linux/ |
H A D | poll.h | 34 #include <sys/fcntl.h>
|
/freebsd-10.1-release/contrib/ntp/lib/isc/win32/ |
H A D | unistd.h | 25 * fcntl() commands 32 * Enough problems not having full fcntl() without worrying about this! 36 int fcntl(int, int, ...);
|
/freebsd-10.1-release/tools/regression/netinet/tcpfullwindowrst/ |
H A D | tcpfullwindowrsttest.c | 34 #include <fcntl.h> 97 fcntl(t, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK); 98 fcntl(u, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK);
|
/freebsd-10.1-release/contrib/gdb/gdb/gdbserver/ |
H A D | terminal.h | 44 #include <fcntl.h>
|
/freebsd-10.1-release/contrib/groff/src/include/ |
H A D | posix.h | 27 #include <fcntl.h>
|