HomeSort by: relevance | last modified time | path
    Searched defs:O_CLOEXEC (Results 1 - 7 of 7) sorted by relevancy

  /src/lib/libc/db/db/
db.c 54 #ifndef O_CLOEXEC
55 #define O_CLOEXEC 0
66 O_RDWR | O_SHLOCK | O_TRUNC | O_CLOEXEC)
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
  /src/lib/libc/gen/
fts.c 213 #ifndef O_CLOEXEC
214 #define O_CLOEXEC 0
217 if ((sp->fts_rfd = open(".", O_RDONLY | O_CLOEXEC, 0)) == -1)
370 if ((p->fts_symfd = open(".", O_RDONLY | O_CLOEXEC, 0))
472 open(".", O_RDONLY | O_CLOEXEC, 0)) == -1) {
614 if ((fd = open(".", O_RDONLY | O_CLOEXEC, 0)) == -1)
1222 if (oldfd < 0 && (fd = open(path, O_RDONLY | O_CLOEXEC)) == -1)
  /src/bin/sh/
redir.c 642 #ifdef O_CLOEXEC
643 newfd = dup3(from, to, O_CLOEXEC);
922 #ifndef O_CLOEXEC
923 # define O_CLOEXEC ((~ALLFLAGS) ^ ((~ALLFLAGS) & ((~ALLFLAGS) - 1)))
927 { "cloexec", 2, O_CLOEXEC },
1002 f |= O_CLOEXEC;
1078 if ((pos & O_CLOEXEC) && !(f & O_CLOEXEC))
1080 if ((neg & O_CLOEXEC) && (f & O_CLOEXEC))
    [all...]
  /src/sys/sys/
fcntl.h 116 #define O_CLOEXEC 0x00400000 /* set close on exec */
140 O_DIRECTORY|O_CLOEXEC|O_CLOFORK|O_NOSIGPIPE|\
  /src/tools/compat/
compat_defs.h 720 #ifndef O_CLOEXEC
721 #define O_CLOEXEC 0
  /src/lib/libc/time/
localtime.c 145 #ifndef O_CLOEXEC
146 # define O_CLOEXEC 0
674 fid = open(name, (O_RDONLY | O_BINARY | O_CLOEXEC | O_CLOFORK

Completed in 63 milliseconds