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

1 2 3 4 5 6 7 8 91011

  /src/external/gpl3/gdb/dist/gnulib/import/
dup-safer-flag.c 30 STDERR_FILENO. If FLAG contains O_CLOEXEC, behave like
36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD,
save-cwd.c 66 cwd->desc = open (".", O_SEARCH | O_CLOEXEC);
68 cwd->desc = fd_safer_flag (cwd->desc, O_CLOEXEC);
fcntl.in.h 264 /* AIX 7.1 with XL C 12.1 defines O_CLOEXEC, O_NOFOLLOW, and O_TTY_INIT
269 # if defined O_CLOEXEC && ! (INT_MIN <= O_CLOEXEC && O_CLOEXEC <= INT_MAX)
270 # undef O_CLOEXEC
285 #if !defined O_CLOEXEC && defined O_NOINHERIT
287 # define O_CLOEXEC O_NOINHERIT
290 #ifndef O_CLOEXEC
291 # define O_CLOEXEC 0x40000000 /* Try to not collide with system O_* flags. */
open.c 131 flags & ~(have_cloexec < 0 ? O_CLOEXEC : 0), mode);
133 if (flags & O_CLOEXEC)
141 fd = orig_open (filename, flags & ~O_CLOEXEC, mode);
openat.c 56 /* Like openat, but support O_CLOEXEC and work around Solaris 9 bugs
117 flags & ~(have_cloexec < 0 ? O_CLOEXEC : 0), mode);
119 if (flags & O_CLOEXEC)
127 fd = orig_openat (dfd, filename, flags & ~O_CLOEXEC, mode);
294 int fd = open ("/", O_SEARCH | O_CLOEXEC);
  /src/external/gpl3/gdb.old/dist/gnulib/import/
dup-safer-flag.c 30 STDERR_FILENO. If FLAG contains O_CLOEXEC, behave like
36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD,
save-cwd.c 66 cwd->desc = open (".", O_SEARCH | O_CLOEXEC);
68 cwd->desc = fd_safer_flag (cwd->desc, O_CLOEXEC);
fcntl.in.h 264 /* AIX 7.1 with XL C 12.1 defines O_CLOEXEC, O_NOFOLLOW, and O_TTY_INIT
269 # if defined O_CLOEXEC && ! (INT_MIN <= O_CLOEXEC && O_CLOEXEC <= INT_MAX)
270 # undef O_CLOEXEC
285 #if !defined O_CLOEXEC && defined O_NOINHERIT
287 # define O_CLOEXEC O_NOINHERIT
290 #ifndef O_CLOEXEC
291 # define O_CLOEXEC 0x40000000 /* Try to not collide with system O_* flags. */
open.c 131 flags & ~(have_cloexec < 0 ? O_CLOEXEC : 0), mode);
133 if (flags & O_CLOEXEC)
141 fd = orig_open (filename, flags & ~O_CLOEXEC, mode);
  /src/lib/libc/compat/sys/
compat_dup3.c 62 switch (flags & (O_CLOEXEC|O_CLOFORK)) {
63 case O_CLOEXEC|O_CLOFORK:
66 case O_CLOEXEC:
  /src/external/gpl3/gcc/dist/libbacktrace/
posix.c 48 #ifndef O_CLOEXEC
49 #define O_CLOEXEC 0
67 descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC));
83 O_CLOEXEC. It doesn't matter if this fails for some reason.
85 O_CLOEXEC == 0. */
  /src/external/gpl3/gcc.old/dist/libbacktrace/
posix.c 48 #ifndef O_CLOEXEC
49 #define O_CLOEXEC 0
67 descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC));
83 O_CLOEXEC. It doesn't matter if this fails for some reason.
85 O_CLOEXEC == 0. */
  /src/external/gpl3/gdb/dist/libbacktrace/
posix.c 48 #ifndef O_CLOEXEC
49 #define O_CLOEXEC 0
67 descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC));
83 O_CLOEXEC. It doesn't matter if this fails for some reason.
85 O_CLOEXEC == 0. */
  /src/external/gpl3/gdb.old/dist/libbacktrace/
posix.c 48 #ifndef O_CLOEXEC
49 #define O_CLOEXEC 0
67 descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC));
83 O_CLOEXEC. It doesn't matter if this fails for some reason.
85 O_CLOEXEC == 0. */
  /src/external/gpl3/gdb/dist/sim/common/
target-newlib-open.c 38 #ifdef O_CLOEXEC
39 { "O_CLOEXEC", O_CLOEXEC, 0x40000 },
  /src/external/gpl3/gdb.old/dist/sim/common/
target-newlib-open.c 38 #ifdef O_CLOEXEC
39 { "O_CLOEXEC", O_CLOEXEC, 0x40000 },
  /src/sys/sys/
eventfd.h 45 #define EFD_CLOEXEC O_CLOEXEC
timerfd.h 46 #define TFD_CLOEXEC O_CLOEXEC
  /src/lib/libc/db/db/
dbfile.c 54 #ifndef O_CLOEXEC
55 #define O_CLOEXEC 0
58 if ((fd = open(file, flags | O_CLOEXEC, mode)) == -1)
61 #if O_CLOEXEC == 0
db.c 54 #ifndef O_CLOEXEC
55 #define O_CLOEXEC 0
66 O_RDWR | O_SHLOCK | O_TRUNC | O_CLOEXEC)
  /src/lib/libc/stdio/
flags.c 105 o |= O_CLOEXEC;
  /src/lib/libc/sys/
adjtime.c 79 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
clock_settime.c 81 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
ntp_adjtime.c 89 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);
settimeofday.c 80 __clockctl_fd = open(_PATH_CLOCKCTL, O_WRONLY | O_CLOEXEC, 0);

Completed in 42 milliseconds

1 2 3 4 5 6 7 8 91011