Searched defs:F_SETFD (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/ttymon/
H A Dtmlog.c76 if (fcntl(ret, F_SETFD, FD_CLOEXEC) == 0) {
123 (void) fcntl(fileno(Logfp), F_SETFD, 1); local
260 if (fcntl(fileno(Debugfp), F_SETFD, 1) == -1)
261 fatal("F_SETFD fcntl failed: %s", strerror(errno));
/illumos-gate/usr/src/cmd/listen/
H A Dlslog.c270 fcntl(fileno(Logfp), F_SETFD, 1); /* reset close-on-exec */ local
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h76 #define F_SETFD 2 /* Set fildes flags */ macro
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dfcntlcom.h124 #define F_SETFD 2 /* Set fildes flags (close on exec) */ macro
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c176 (void) fcntl(EV_FD(scp), F_SETFD, FD_CLOEXEC); local
/illumos-gate/usr/src/cmd/fs.d/
H A Dfsck.c787 fcntl(fileno(fd), F_SETFD, 1); /* close on exec */ local
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h220 #define F_SETFD 2 /* set file descriptor flags */ macro
248 /* file descriptor flags (F_GETFD, F_SETFD) */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c843 (void) fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); local
/illumos-gate/usr/src/cmd/csh/
H A Dsh.c368 (void) fcntl(SHIN, F_SETFD, 1);
463 (void) fcntl(dcopy(f, FSHTTY), F_SETFD, 1); local
620 (void) fcntl(unit, F_SETFD, 1);
639 (void) fcntl(unit, F_SETFD, 1);
1074 (void) fcntl(u, F_SETFD, 1);
1314 fcntl(script_fd, F_SETFD, 1);
1336 (void) fcntl(SHIN = dcopy(0, FSHIN), F_SETFD, 1);
1337 (void) fcntl(SHOUT = dcopy(1, FSHOUT), F_SETFD, 1);
1338 (void) fcntl(SHDIAG = dcopy(2, FSHDIAG), F_SETFD, 1);
1339 (void) fcntl(OLDSTD = dcopy(SHIN, FOLDSTD), F_SETFD,
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h97 #define F_SETFD 2 /* Set fildes flags */ macro
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dxec.c2512 fcntl(sffileno(sfstdin),F_SETFD,0); local
2849 if(fcntl(*shp->cpipe,F_SETFD,FD_CLOEXEC)>=0)
2853 if(fcntl(shp->cpipe[1],F_SETFD,FD_CLOEXEC) >=0)
2860 if(fcntl(shp->outpipe[0],F_SETFD,FD_CLOEXEC)>=0)
2927 fcntl(i,F_SETFD,0);
2954 fcntl(i,F_SETFD,FD_CLOEXEC);
3045 if(fd>=0 && (!(otype&FPOU) || (otype&FCOOP)) && fcntl(fd,F_SETFD,FD_CLOEXEC)>=0)
3052 if(fcntl(shp->outpipe[0],F_SETFD,FD_CLOEXEC)>=0)
3091 if((otype&FPIN) && (!(otype&FPOU) || (otype&FCOOP)) && fcntl(shp->inpipe[1],F_SETFD,FD_CLOEXEC)>=0)

Completed in 83 milliseconds