Searched refs:F_SETFD (Results 1 - 25 of 88) sorted by relevance

1234

/freebsd-10-stable/contrib/ntp/lib/isc/win32/
H A Dunistd.h29 #define F_SETFD 2 macro
/freebsd-10-stable/tools/regression/filemon/
H A Dfilemontest.c65 (void)fcntl(fm_fd, F_SETFD, FD_CLOEXEC);
66 (void)fcntl(fm_log, F_SETFD, FD_CLOEXEC);
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dcloexec.c47 if (fcntl(fd, F_SETFD, ret | FD_CLOEXEC) == -1)
/freebsd-10-stable/usr.bin/make/
H A Dproc.c93 fcntl(STDIN_FILENO, F_SETFD,
95 fcntl(STDOUT_FILENO, F_SETFD,
97 fcntl(STDERR_FILENO, F_SETFD,
/freebsd-10-stable/contrib/apr/include/arch/unix/
H A Dapr_arch_inherit.h34 if (fcntl(the##name->name##des, F_SETFD, flags) == -1) \
54 if (fcntl(the##name->name##des, F_SETFD, flags) == -1) \
/freebsd-10-stable/tools/regression/capsicum/syscalls/
H A Dcap_fcntls_limit.c57 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
59 CHECK(fcntl(fd, F_SETFD, 0) == 0);
81 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
83 CHECK(fcntl(fd, F_SETFD, 0) == 0);
104 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
106 CHECK(fcntl(fd, F_SETFD, 0) == 0);
137 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
139 CHECK(fcntl(fd, F_SETFD, 0) == 0);
186 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
188 CHECK(fcntl(fd, F_SETFD,
[all...]
H A Dcap_ioctls_limit.c104 CHECK(fcntl(fd, F_SETFD, 0) == 0);
120 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
126 CHECK(fcntl(fd, F_SETFD, 0) == 0);
162 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
168 CHECK(fcntl(fd, F_SETFD, 0) == 0);
197 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
203 CHECK(fcntl(fd, F_SETFD, 0) == 0);
282 CHECK(fcntl(fd, F_SETFD, 0) == 0);
296 CHECK(fcntl(fd, F_SETFD, FD_CLOEXEC) == 0);
302 CHECK(fcntl(fd, F_SETFD,
[all...]
/freebsd-10-stable/lib/libkse/thread/
H A Dthr_fcntl.c63 case F_SETFD:
/freebsd-10-stable/lib/libc/gen/
H A Dpopen.c157 (void)_fcntl(pdes[1], F_SETFD, 0);
159 (void)_fcntl(pdes[1], F_SETFD, 0);
166 (void)_fcntl(pdes[0], F_SETFD, 0);
H A Dwordexp.c175 _fcntl(pdes[1], F_SETFD, 0)) < 0)
177 if (_fcntl(pdesw[0], F_SETFD, 0) < 0)
/freebsd-10-stable/lib/libc/stdio/
H A Dfdopen.c83 if ((oflags & O_CLOEXEC) && _fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
H A Dfreopen.c121 (void) _fcntl(fp->_file, F_SETFD, FD_CLOEXEC);
/freebsd-10-stable/contrib/netbsd-tests/lib/librumpclient/
H A Dh_execthr.c168 if (rump_sys_fcntl(p1[0], F_SETFD, FD_CLOEXEC) == -1)
170 if (rump_sys_fcntl(p1[1], F_SETFD, FD_CLOEXEC) == -1)
H A Dh_exec.c103 if (rump_sys_fcntl(s1, F_SETFD, FD_CLOEXEC) == -1) {
/freebsd-10-stable/usr.bin/mail/
H A Dpopen.c73 (void)fcntl(fileno(fp), F_SETFD, 1); local
85 (void)fcntl(fileno(fp), F_SETFD, 1); local
108 (void)fcntl(p[READ], F_SETFD, 1);
109 (void)fcntl(p[WRITE], F_SETFD, 1);
/freebsd-10-stable/contrib/apr/file_io/unix/
H A Dmktemp.c213 if (fcntl(fd, F_SETFD, flags) == -1)
H A Dfiledup.c53 if (fcntl((*new_file)->filedes, F_SETFD, flags) == -1)
H A Dopen.c195 if (fcntl(fd, F_SETFD, flags) == -1) {
395 if (fcntl(thefile->filedes, F_SETFD, flags) == -1)
/freebsd-10-stable/contrib/pf/libevent/
H A Dsignal.c82 if (fcntl(x, F_SETFD, 1) == -1) \
83 event_warn("fcntl(%d, F_SETFD)", x); \
/freebsd-10-stable/contrib/apr/poll/unix/
H A Dpollset.c92 if (fcntl(pollset->wakeup_pipe[0]->filedes, F_SETFD, flags) == -1)
102 if (fcntl(pollset->wakeup_pipe[1]->filedes, F_SETFD, flags) == -1)
/freebsd-10-stable/release/picobsd/tinyware/passwd/
H A Dpw_util.c128 if (lockfd < 0 || fcntl(lockfd, F_SETFD, 1) == -1)
/freebsd-10-stable/sys/sys/
H A Dfcntl.h209 #define F_SETFD 2 /* set file descriptor flags */ macro
237 /* file descriptor flags (F_GETFD, F_SETFD) */
/freebsd-10-stable/sys/security/audit/
H A Dbsm_fcntl.c50 { BSM_F_SETFD, F_SETFD },
/freebsd-10-stable/contrib/openbsm/libbsm/
H A Dbsm_fcntl.c47 { BSM_F_SETFD, F_SETFD },
/freebsd-10-stable/lib/libc/rpc/
H A Dclnt_simple.c184 _fcntl(fd, F_SETFD, 1); /* make it "close on exec" */

Completed in 144 milliseconds

1234