Searched refs:F_SETFD (Results 1 - 25 of 32) sorted by relevance

12

/ast/src/lib/libast/comp/
H A Dfcntl.c40 #if F_SETFD >= _ast_F_LOCAL
74 #if F_SETFD >= _ast_F_LOCAL && defined(FIOCLEX)
75 case F_SETFD:
H A Dspawnveg.c193 fcntl(err[0], F_SETFD, FD_CLOEXEC);
194 fcntl(err[1], F_SETFD, FD_CLOEXEC);
H A Dsyslog.c274 fcntl(log.fd, F_SETFD, FD_CLOEXEC);
/ast/src/lib/libast/features/
H A Dfcntl.c132 #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 Dfcntl3d.c53 case F_SETFD:
H A Dlicense.c81 fcntl(lic, F_SETFD, FD_CLOEXEC);
H A Dvcs.c480 FCNTL(fd, F_SETFD, FD_CLOEXEC);
/ast/src/lib/libast/dir/
H A Dopendir.c59 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
/ast/src/cmd/mailx/
H A Dproc.c190 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 Dcsname.c73 for (i = fd; i < fd + 3 && fcntl(i, F_SETFD, FD_CLOEXEC) < 0; i++);
H A Dcssend.c196 else fcntl(j, F_SETFD, FD_CLOEXEC);
H A Dmsguser.c123 fcntl(msg_ack.fd, F_SETFD, FD_CLOEXEC);
/ast/src/lib/libast/misc/
H A Dprocopen.c268 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 Dsubshell.c127 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 Dxec.c118 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 Dio.c621 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 Dcoopen.c357 fcntl(pio[1], F_SETFD, FD_CLOEXEC);
358 fcntl(pio[2], F_SETFD, FD_CLOEXEC);
H A Dcoexec.c77 fcntl(cs->fd, F_SETFD, FD_CLOEXEC);
/ast/src/cmd/ie/
H A Dio.h182 # define F_SETFD 2 macro
H A Dhistory.c1158 #ifdef F_SETFD
1159 fcntl(fb,F_SETFD,1);
1164 #endif /* F_SETFD */
/ast/src/cmd/ksh93/edit/
H A Dhistory.c172 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 DtclUnixFile.c254 fcntl(fd, F_SETFD, FD_CLOEXEC);
H A DtclUnixChan.c1178 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 Dsfhdr.h180 #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 Dpty.c278 fcntl(*master, F_SETFD, FD_CLOEXEC);
280 fcntl(*slave, F_SETFD, FD_CLOEXEC);

Completed in 300 milliseconds

12