FD_CLOEXEC 134 ext/fcntl/fcntl.c #ifdef FD_CLOEXEC FD_CLOEXEC 139 ext/fcntl/fcntl.c rb_define_const(mFcntl, "FD_CLOEXEC", INT2NUM(FD_CLOEXEC)); FD_CLOEXEC 187 ext/sdbm/_sdbm.c if (!(flags & FD_CLOEXEC)) { FD_CLOEXEC 188 ext/sdbm/_sdbm.c flags |= FD_CLOEXEC; FD_CLOEXEC 292 ext/socket/init.c if (flags & FD_CLOEXEC) FD_CLOEXEC 211 io.c #if defined(HAVE_FCNTL) && defined(F_GETFD) && defined(F_SETFD) && defined(FD_CLOEXEC) FD_CLOEXEC 218 io.c flags2 = flags & ~FD_CLOEXEC; /* Clear CLOEXEC for standard file descriptors: 0, 1, 2. */ FD_CLOEXEC 220 io.c flags2 = flags | FD_CLOEXEC; /* Set CLOEXEC for non-standard file descriptors: 3, 4, 5, ... */ FD_CLOEXEC 247 io.c if (flags & FD_CLOEXEC) FD_CLOEXEC 3980 io.c #if defined(HAVE_FCNTL) && defined(F_GETFD) && defined(F_SETFD) && defined(FD_CLOEXEC) FD_CLOEXEC 4007 io.c if (!(ret & FD_CLOEXEC)) return Qfalse; FD_CLOEXEC 4014 io.c if (!(ret & FD_CLOEXEC)) return Qfalse; FD_CLOEXEC 4022 io.c #if defined(HAVE_FCNTL) && defined(F_GETFD) && defined(F_SETFD) && defined(FD_CLOEXEC) FD_CLOEXEC 4046 io.c int flag = RTEST(arg) ? FD_CLOEXEC : 0; FD_CLOEXEC 4056 io.c if ((ret & FD_CLOEXEC) != flag) { FD_CLOEXEC 4057 io.c ret = (ret & ~FD_CLOEXEC) | flag; FD_CLOEXEC 4068 io.c if ((ret & FD_CLOEXEC) != flag) { FD_CLOEXEC 4069 io.c ret = (ret & ~FD_CLOEXEC) | flag; FD_CLOEXEC 5840 io.c #if defined(HAVE_FCNTL) && defined(F_GETFD) && defined(F_SETFD) && defined(FD_CLOEXEC) FD_CLOEXEC 5861 io.c if (ret != -1 && !(ret & FD_CLOEXEC)) { FD_CLOEXEC 5862 io.c fcntl(fd, F_SETFD, ret|FD_CLOEXEC); /* async-signal-safe */ FD_CLOEXEC 2669 process.c if (ret & FD_CLOEXEC) return 1; FD_CLOEXEC 2685 process.c if (!(ret & FD_CLOEXEC)) { FD_CLOEXEC 2686 process.c ret |= FD_CLOEXEC; FD_CLOEXEC 2708 process.c if (ret & FD_CLOEXEC) { FD_CLOEXEC 2709 process.c ret &= ~FD_CLOEXEC; FD_CLOEXEC 4241 win32/win32.c return (flag & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC; FD_CLOEXEC 4250 win32/win32.c (arg & FD_CLOEXEC) ? 0 : HANDLE_FLAG_INHERIT)) { FD_CLOEXEC 4254 win32/win32.c if (arg & FD_CLOEXEC)