O_CLOFORK
FLAG_INFO_ENTRY(O_CLOFORK),
int fd = _kern_event_queue_create(O_CLOFORK);
fd_set_close_on_fork(context, fd, (openFlags & O_CLOFORK) != 0);
if ((flags & ~(O_CLOEXEC | O_CLOFORK)) != 0)
fd_set_close_on_fork(context, newfd, (flags & O_CLOFORK) != 0);
oflags |= O_CLOFORK;
fd_set_close_on_fork(context, fd, (oflags & O_CLOFORK) != 0);
fd_set_close_on_fork(context, fd, (openMode & O_CLOFORK) != 0);
if ((flags & ~(O_NONBLOCK | O_CLOEXEC | O_CLOFORK)) != 0)
if ((flags & ~(O_CLOEXEC | O_CLOFORK)) != 0)