/ast/src/cmd/3d/ |
H A D | fcntl3d.c | 56 if (!(n & FD_CLOEXEC))
|
H A D | license.c | 81 fcntl(lic, F_SETFD, FD_CLOEXEC);
|
H A D | execve3d.c | 142 if ((fp->flags & FILE_OPEN) && ((fp->flags & FILE_CLOEXEC) || (size = FCNTL(fp - state.file, F_GETFD, NiL)) >= 0 && (size & FD_CLOEXEC)) && !FSTAT(fp - state.file, &state.path.st))
|
H A D | lib.c | 502 if (ffd & FD_CLOEXEC)
|
H A D | vcs.c | 480 FCNTL(fd, F_SETFD, FD_CLOEXEC);
|
/ast/src/lib/libast/dir/ |
H A D | opendir.c | 59 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
|
/ast/src/lib/libast/comp/ |
H A D | fcntl.c | 77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0);
|
H A D | spawnveg.c | 193 fcntl(err[0], F_SETFD, FD_CLOEXEC); 194 fcntl(err[1], F_SETFD, FD_CLOEXEC);
|
H A D | syslog.c | 274 fcntl(log.fd, F_SETFD, FD_CLOEXEC);
|
/ast/src/lib/libcs/ |
H A D | csname.c | 73 for (i = fd; i < fd + 3 && fcntl(i, F_SETFD, FD_CLOEXEC) < 0; i++);
|
H A D | cssend.c | 196 else fcntl(j, F_SETFD, FD_CLOEXEC);
|
H A D | msguser.c | 123 fcntl(msg_ack.fd, F_SETFD, FD_CLOEXEC);
|
/ast/src/lib/libast/features/ |
H A D | fcntl.c | 101 #ifndef FD_CLOEXEC 102 printf("#define FD_CLOEXEC 1\n");
|
/ast/src/lib/libast/misc/ |
H A D | procopen.c | 268 fcntl(m->save, F_SETFD, FD_CLOEXEC); 280 fcntl(arg1, F_SETFD, FD_CLOEXEC); 362 fcntl(m->arg.fd.child.fd, F_SETFD, FD_CLOEXEC); 879 fcntl(proc->rfd, F_SETFD, FD_CLOEXEC); 881 fcntl(proc->wfd, F_SETFD, FD_CLOEXEC);
|
/ast/src/lib/libcoshell/ |
H A D | coopen.c | 357 fcntl(pio[1], F_SETFD, FD_CLOEXEC); 358 fcntl(pio[2], F_SETFD, FD_CLOEXEC);
|
H A D | coexec.c | 77 fcntl(cs->fd, F_SETFD, FD_CLOEXEC);
|
/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 172 fcntl(acctfd,F_SETFD,FD_CLOEXEC); 303 fcntl(fd,F_SETFD,FD_CLOEXEC); 397 fcntl(fd,F_SETFD,FD_CLOEXEC); 1203 fcntl(oldfd,F_SETFD,FD_CLOEXEC);
|
/ast/src/cmd/ksh93/sh/ |
H A D | subshell.c | 127 fcntl(fd,F_SETFD,FD_CLOEXEC); 143 sh_fcntl(sp->pipefd,F_SETFD,FD_CLOEXEC); 562 fcntl(sp->pwdfd,F_SETFD,FD_CLOEXEC); 685 fcntl(fd,F_SETFD,FD_CLOEXEC);
|
H A D | io.c | 621 fcntl(fd,F_SETFD,FD_CLOEXEC); 939 if(fcntl(pv[out],F_SETFD,FD_CLOEXEC) >=0) 970 fcntl(pv[out],F_SETFD,FD_CLOEXEC); 1536 fcntl(fd,F_SETFD,FD_CLOEXEC); 1706 sh_fcntl(savefd,F_SETFD,FD_CLOEXEC); 1787 fcntl(origfd,F_SETFD,FD_CLOEXEC); 2237 fcntl(fd,F_SETFD,FD_CLOEXEC); 2572 if(arg&FD_CLOEXEC)
|
H A D | xec.c | 118 fcntl(subpipe[0],F_SETFD,FD_CLOEXEC); 120 fcntl(subpipe[2],F_SETFD,FD_CLOEXEC); 3634 if(fcntl(*shp->cpipe,F_SETFD,FD_CLOEXEC)>=0) 3638 if(fcntl(shp->cpipe[1],F_SETFD,FD_CLOEXEC) >=0) 3645 if(fcntl(shp->outpipe[0],F_SETFD,FD_CLOEXEC)>=0) 3722 fcntl(i,F_SETFD,FD_CLOEXEC); 3815 if(fd>=0 && (!(otype&FPOU) || (otype&FCOOP)) && fcntl(fd,F_SETFD,FD_CLOEXEC)>=0) 3826 if(fcntl(shp->outpipe[0],F_SETFD,FD_CLOEXEC)>=0) 3865 if((otype&FPIN) && (!(otype&FPOU) || (otype&FCOOP)) && fcntl(shp->inpipe[1],F_SETFD,FD_CLOEXEC)>=0)
|
/ast/src/lib/libast/vmalloc/ |
H A D | malloc.c | 1182 #ifdef FD_CLOEXEC 1183 fcntl(fd, F_SETFD, FD_CLOEXEC); 1240 #ifdef FD_CLOEXEC 1242 fcntl(fd, F_SETFD, FD_CLOEXEC);
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUnixFile.c | 254 fcntl(fd, F_SETFD, FD_CLOEXEC);
|
H A D | tclUnixChan.c | 1178 fcntl(fd, F_SETFD, FD_CLOEXEC); 2009 fcntl(sock, F_SETFD, FD_CLOEXEC); 2386 (void) fcntl(newsock, F_SETFD, FD_CLOEXEC);
|
/ast/src/lib/libast/sfio/ |
H A D | sfhdr.h | 609 # ifndef FD_CLOEXEC 610 # define FD_CLOEXEC 1 macro 611 # endif /*FD_CLOEXEC*/ 612 # define SETCLOEXEC(fd) ((void)fcntl((fd),F_SETFD,FD_CLOEXEC))
|
/ast/src/cmd/builtin/ |
H A D | pty.c | 278 fcntl(*master, F_SETFD, FD_CLOEXEC); 280 fcntl(*slave, F_SETFD, FD_CLOEXEC);
|