| /src/external/gpl3/gdb/dist/gnulib/import/ |
| cloexec.c | 41 #ifdef F_SETFD 50 || fcntl (desc, F_SETFD, newflags) != -1) 56 #else /* !F_SETFD */ 71 #endif /* !F_SETFD */
|
| fcntl.c | 248 /* Implementing F_SETFD on mingw is not trivial - there is no 394 #ifdef F_SETFD /* POSIX */ 395 case F_SETFD: 468 if (0 <= result && fcntl (fd, F_SETFD, flags) == -1) 534 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) 585 case F_SETFD:
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| cloexec.c | 41 #ifdef F_SETFD 50 || fcntl (desc, F_SETFD, newflags) != -1) 56 #else /* !F_SETFD */ 71 #endif /* !F_SETFD */
|
| fcntl.c | 248 /* Implementing F_SETFD on mingw is not trivial - there is no 394 #ifdef F_SETFD /* POSIX */ 395 case F_SETFD: 468 if (0 <= result && fcntl (fd, F_SETFD, flags) == -1) 534 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) 585 case F_SETFD:
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| close_on_exec.c | 57 if (fcntl(fd, F_SETFD, on ? flags | PATTERN : flags & ~PATTERN) < 0)
|
| dup2_pass_on_exec.c | 45 DO(fcntl(0, F_SETFD, 1));
|
| /src/tests/kernel/ |
| h_fexecve.c | 46 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| cloexec.c | 49 if (fcntl(fd, F_SETFD, ret | FD_CLOEXEC) == -1)
|
| /src/external/gpl2/gmake/dist/ |
| job.h | 29 #if !defined F_SETFD 35 # define CLOSE_ON_EXEC(_d) (void) fcntl ((_d), F_SETFD, FD_CLOEXEC)
|
| /src/lib/libc/compat/sys/ |
| compat_dup3.c | 75 return fcntl(newfd, F_SETFD, fdflags);
|
| /src/external/gpl3/gcc/dist/libbacktrace/ |
| posix.c | 86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
|
| /src/external/gpl3/gcc.old/dist/libbacktrace/ |
| posix.c | 86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
|
| /src/external/gpl3/gdb/dist/libbacktrace/ |
| posix.c | 86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
|
| /src/external/gpl3/gdb.old/dist/libbacktrace/ |
| posix.c | 86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
|
| /src/lib/libc/db/db/ |
| dbfile.c | 62 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) 106 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
|
| /src/usr.bin/chpass/ |
| chpass.c | 228 if (dfd < 0 || fcntl(dfd, F_SETFD, 1) < 0) 273 if (fcntl(tfd, F_SETFD, 1) < 0) 277 if (pfd < 0 || fcntl(pfd, F_SETFD, 1) < 0)
|
| /src/external/bsd/nsd/dist/ |
| popen3.c | 53 fcntl(fdsig[0], F_SETFD, FD_CLOEXEC) == -1 || 54 fcntl(fdsig[1], F_SETFD, FD_CLOEXEC) == -1)
|
| /src/distrib/utils/libhack/ |
| opendir.c | 71 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1 ||
|
| /src/tests/lib/librumpclient/ |
| h_execthr.c | 168 if (rump_sys_fcntl(p1[0], F_SETFD, FD_CLOEXEC) == -1) 170 if (rump_sys_fcntl(p1[1], F_SETFD, FD_CLOEXEC) == -1)
|
| h_exec.c | 103 if (rump_sys_fcntl(s1, F_SETFD, FD_CLOEXEC) == -1) {
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| misc.c | 133 fcntl(fd, F_SETFD, FD_CLOEXEC);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/ |
| fcntl.d | 60 F_SETFD 104 enum F_SETFD = 2; 404 enum F_SETFD = 2; 448 enum F_SETFD = 2; 509 enum F_SETFD = 2; 575 enum F_SETFD = 2; 663 enum F_SETFD = 2; 708 enum F_SETFD = 2;
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| pex-unix.c | 395 if ((flags & FD_CLOEXEC) == 0 && fcntl (old_fd, F_SETFD, FD_CLOEXEC) < 0) 411 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0) 444 return fcntl (old_fd, F_SETFD, flags); 460 if (flags != 0 && fcntl (old_fd, F_SETFD, flags) < 0) 595 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1) 811 if (fcntl (fd, F_SETFD, FD_CLOEXEC) < 0)
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| pex-unix.c | 398 if ((flags & FD_CLOEXEC) == 0 && fcntl (old_fd, F_SETFD, FD_CLOEXEC) < 0) 414 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0) 447 return fcntl (old_fd, F_SETFD, flags); 463 if (flags != 0 && fcntl (old_fd, F_SETFD, flags) < 0) 763 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1) 979 if (fcntl (fd, F_SETFD, FD_CLOEXEC) < 0)
|
| /src/lib/libc/gen/ |
| opendir.c | 108 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
|