/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmlog.c | 76 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 D | lslog.c | 270 fcntl(fileno(Logfp), F_SETFD, 1); /* reset close-on-exec */ local
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 76 #define F_SETFD 2 /* Set fildes flags */ macro
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | fcntlcom.h | 124 #define F_SETFD 2 /* Set fildes flags (close on exec) */ macro
|
/illumos-gate/usr/src/lib/libsysevent/ |
H A D | libevchannel.c | 176 (void) fcntl(EV_FD(scp), F_SETFD, FD_CLOEXEC); local
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fsck.c | 787 fcntl(fileno(fd), F_SETFD, 1); /* close on exec */ local
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 220 #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 D | inetconv.c | 843 (void) fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); local
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.c | 368 (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 D | fcntl.h | 97 #define F_SETFD 2 /* Set fildes flags */ macro
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | xec.c | 2512 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)
|