Searched refs:fcntl (Results 1 - 25 of 1582) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/ofed/include/asm/
H A Dfcntl.h31 #include <sys/fcntl.h>
/freebsd-9.3-release/contrib/cvs/lib/
H A Ddup2.c12 #include <fcntl.h>
14 extern int close(), fcntl();
21 register int ret; /* for fcntl() return value */
31 ret = fcntl( oldfd, F_DUPFD, newfd ); /* dupe it */
35 else /* fcntl() returned error */
H A Dftruncate.c9 #include <fcntl.h>
17 return fcntl (fd, F_CHSIZE, length);
58 fcntl, which truncates the file so that it ends at the
61 if (fcntl (fd, F_FREESP, &fl) < 0)
/freebsd-9.3-release/cddl/compat/opensolaris/include/
H A Dfcntl.h33 #include_next <fcntl.h>
H A Dsolaris.h8 #include <fcntl.h>
H A Dlibproc.h33 #include <fcntl.h>
/freebsd-9.3-release/tools/regression/ccd/layout/
H A Db.c4 #include <fcntl.h>
/freebsd-9.3-release/tools/regression/file/dup/
H A Ddup.c19 * 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
39 #include <fcntl
[all...]
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Ddup-safer.c27 # include <fcntl.h>
46 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
/freebsd-9.3-release/contrib/xz/src/common/
H A Dtuklib_open_stdxxx.c18 # 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-9.3-release/usr.bin/make/
H A Dproc.c34 #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-9.3-release/crypto/heimdal/lib/roken/
H A Dflock.c65 code = fcntl(fd, F_SETLK, &arg);
69 code = fcntl(fd, cmd, &arg);
73 code = fcntl(fd, cmd, &arg);
/freebsd-9.3-release/tools/regression/filemon/
H A Dfilemontest.c37 #include <fcntl.h>
65 (void)fcntl(fm_fd, F_SETFD, FD_CLOEXEC);
66 (void)fcntl(fm_log, F_SETFD, FD_CLOEXEC);
/freebsd-9.3-release/contrib/ipfilter/
H A Dipt.h23 #include <fcntl.h>
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dprinttqtable.c7 #include <fcntl.h>
/freebsd-9.3-release/lib/libc/compat-43/
H A Dcreat.c37 #include <fcntl.h>
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_close.c36 #include <fcntl.h>
H A Dthr_creat.c33 #include <fcntl.h>
H A Dthr_fcntl.c34 #include <fcntl.h>
42 __weak_reference(__fcntl, fcntl);
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dpoll.h33 #include <sys/fcntl.h>
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dunistd.h25 * fcntl() commands
32 * Enough problems not having full fcntl() without worrying about this!
36 int fcntl(int, int, ...);
/freebsd-9.3-release/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c34 #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-9.3-release/contrib/bind9/bin/confgen/unix/
H A Dos.c25 #include <fcntl.h>
/freebsd-9.3-release/contrib/gdb/gdb/gdbserver/
H A Dterminal.h44 #include <fcntl.h>
/freebsd-9.3-release/contrib/groff/src/include/
H A Dposix.h27 #include <fcntl.h>

Completed in 224 milliseconds

1234567891011>>