/ast/src/lib/libast/comp/ |
H A D | fcntl.c | 40 #if F_SETFD >= _ast_F_LOCAL 74 #if F_SETFD >= _ast_F_LOCAL && defined(FIOCLEX) 75 case F_SETFD:
|
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/libast/features/ |
H A D | fcntl.c | 132 #ifndef F_SETFD 135 if (F_SETFD > f_local) f_local = F_SETFD; 183 #ifndef F_SETFD 184 printf("#define F_SETFD %d\n", ++f_local);
|
/ast/src/cmd/3d/ |
H A D | fcntl3d.c | 53 case F_SETFD:
|
H A D | license.c | 81 fcntl(lic, F_SETFD, 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/cmd/mailx/ |
H A D | proc.c | 190 fcntl(fileno(fp), F_SETFD, 1); local 211 fcntl(fileno(fp), F_SETFD, 1); local 414 fcntl(p[READ], F_SETFD, 1); 415 fcntl(p[WRITE], F_SETFD, 1); 511 fcntl(savein, F_SETFD, 1); 512 fcntl(infd, F_SETFD, 1); 527 fcntl(saveout, F_SETFD, 1); 528 fcntl(outfd, F_SETFD, 1); 560 fcntl(READ, F_SETFD, 0); 569 fcntl(WRITE, F_SETFD, [all...] |
/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/misc/ |
H A D | procopen.c | 268 fcntl(m->save, F_SETFD, FD_CLOEXEC); 280 fcntl(arg1, F_SETFD, FD_CLOEXEC); 285 fcntl(arg1, F_SETFD, 0); 356 fcntl(m->arg.fd.parent.fd, F_SETFD, m->arg.fd.parent.flag); 362 fcntl(m->arg.fd.child.fd, F_SETFD, FD_CLOEXEC); 365 fcntl(m->arg.fd.parent.fd, F_SETFD, 0); 879 fcntl(proc->rfd, F_SETFD, FD_CLOEXEC); 881 fcntl(proc->wfd, 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); 157 fcntl(1,F_SETFD,0); 562 fcntl(sp->pwdfd,F_SETFD,FD_CLOEXEC); 685 fcntl(fd,F_SETFD,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) 3695 fcntl(i,F_SETFD,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_CLOEXE [all...] |
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); 2569 case F_SETFD:
|
/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/ie/ |
H A D | io.h | 182 # define F_SETFD 2 macro
|
H A D | history.c | 1158 #ifdef F_SETFD 1159 fcntl(fb,F_SETFD,1); 1164 #endif /* F_SETFD */
|
/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/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 | 180 #ifndef F_SETFD 190 #endif /*F_SETFD*/ 608 #ifdef F_SETFD 612 # define SETCLOEXEC(fd) ((void)fcntl((fd),F_SETFD,FD_CLOEXEC)) 619 #endif /*F_SETFD*/
|
/ast/src/cmd/builtin/ |
H A D | pty.c | 278 fcntl(*master, F_SETFD, FD_CLOEXEC); 280 fcntl(*slave, F_SETFD, FD_CLOEXEC);
|