HomeSort by: relevance | last modified time | path
    Searched refs:FD_CLOEXEC (Results 1 - 25 of 172) sorted by relevancy

1 2 3 4 5 6 7

  /src/external/gpl3/gdb/dist/gnulib/import/
cloexec.c 28 /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true,
47 int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC);
fcntl.c 198 FD_CLOEXEC is portable, but other flags may be present); otherwise
237 result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC;
498 the FD_CLOEXEC flag on fd, not on target. Therefore avoid the
534 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1)
582 result = (ulMode & OPEN_FLAGS_NOINHERIT) ? FD_CLOEXEC : 0;
586 if (arg & ~FD_CLOEXEC)
592 if (arg & FD_CLOEXEC)
  /src/external/gpl3/gdb.old/dist/gnulib/import/
cloexec.c 28 /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true,
47 int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC);
fcntl.c 198 FD_CLOEXEC is portable, but other flags may be present); otherwise
237 result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC;
498 the FD_CLOEXEC flag on fd, not on target. Therefore avoid the
534 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1)
582 result = (ulMode & OPEN_FLAGS_NOINHERIT) ? FD_CLOEXEC : 0;
586 if (arg & ~FD_CLOEXEC)
592 if (arg & FD_CLOEXEC)
  /src/external/gpl3/gcc/dist/libbacktrace/
posix.c 52 #ifndef FD_CLOEXEC
53 #define FD_CLOEXEC 1
82 /* Set FD_CLOEXEC just in case the kernel does not support
86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
  /src/external/gpl3/gcc.old/dist/libbacktrace/
posix.c 52 #ifndef FD_CLOEXEC
53 #define FD_CLOEXEC 1
82 /* Set FD_CLOEXEC just in case the kernel does not support
86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
  /src/external/gpl3/gdb/dist/libbacktrace/
posix.c 52 #ifndef FD_CLOEXEC
53 #define FD_CLOEXEC 1
82 /* Set FD_CLOEXEC just in case the kernel does not support
86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
  /src/external/gpl3/gdb.old/dist/libbacktrace/
posix.c 52 #ifndef FD_CLOEXEC
53 #define FD_CLOEXEC 1
82 /* Set FD_CLOEXEC just in case the kernel does not support
86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
  /src/external/ibm-public/postfix/dist/src/util/
close_on_exec.c 47 #define PATTERN FD_CLOEXEC
  /src/lib/libc/compat/sys/
compat_dup3.c 64 fdflags = FD_CLOEXEC|FD_CLOFORK;
67 fdflags = FD_CLOEXEC;
  /src/tests/kernel/
h_fexecve.c 46 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
  /src/external/gpl2/gmake/dist/
job.h 32 # ifndef FD_CLOEXEC
33 # define FD_CLOEXEC 1
35 # define CLOSE_ON_EXEC(_d) (void) fcntl ((_d), F_SETFD, FD_CLOEXEC)
  /src/tests/lib/libc/sys/
t_socketpair.c 84 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
85 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0);
87 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0);
88 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
t_pipe2.c 72 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
73 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0);
75 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0);
76 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
cloexec.c 49 if (fcntl(fd, F_SETFD, ret | FD_CLOEXEC) == -1)
  /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/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/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)
442 if (flags & FD_CLOEXEC)
450 if (flags == FD_CLOEXEC)
595 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1)
811 if (fcntl (fd, F_SETFD, FD_CLOEXEC) < 0)
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/
fcntl.d 69 FD_CLOEXEC
149 enum FD_CLOEXEC = 1;
413 enum FD_CLOEXEC = 1;
461 enum FD_CLOEXEC = 1;
520 enum FD_CLOEXEC = 1;
589 enum FD_CLOEXEC = 1;
682 enum FD_CLOEXEC = 1;
737 enum FD_CLOEXEC = 1;
  /src/bin/sh/
redir.c 81 #ifndef FD_CLOEXEC
82 # define FD_CLOEXEC 1 /* well known from before there was a name */
88 (fcntl_int)(fcntl((fd), F_GETFD) | FD_CLOEXEC)))
104 int cloexec; /* orig had FD_CLOEXEC set (into always does) */
316 cloexec &= FD_CLOEXEC;
352 (void)fcntl(i, F_SETFD, (fcntl_int) FD_CLOEXEC);
488 (void)fcntl(f, F_SETFD, (fcntl_int) FD_CLOEXEC);
648 (fcntl_int)(fcntl(newfd, F_GETFD) | FD_CLOEXEC));
763 (void)fcntl(fd, F_SETFD, (fcntl_int) FD_CLOEXEC);
1001 if (c & FD_CLOEXEC)
    [all...]
  /src/lib/libc/gen/
opendir.c 108 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)

Completed in 23 milliseconds

1 2 3 4 5 6 7