Home
last modified time | relevance | path

Searched refs:F_SETFD (Results 1 – 25 of 97) sorted by relevance

1234

/titanic_41/usr/src/lib/libast/common/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.c192 fcntl(err[0], F_SETFD, FD_CLOEXEC);
193 fcntl(err[1], F_SETFD, FD_CLOEXEC);
/titanic_41/usr/src/lib/libast/common/features/
H A Dfcntl.c132 #ifndef F_SETFD in main()
135 if (F_SETFD > f_local) f_local = F_SETFD; in main()
183 #ifndef F_SETFD in main()
/titanic_41/usr/src/cmd/csh/
H A Dsh.c368 (void) fcntl(SHIN, F_SETFD, 1); in main()
463 (void) fcntl(dcopy(f, FSHTTY), F_SETFD, 1); in main()
620 (void) fcntl(unit, F_SETFD, 1); in srccat()
639 (void) fcntl(unit, F_SETFD, 1); in srccat_inlogin()
1074 (void) fcntl(u, F_SETFD, 1); in dosource()
1314 fcntl(script_fd, F_SETFD, 1); in initdesc_x()
1336 (void) fcntl(SHIN = dcopy(0, FSHIN), F_SETFD, 1); in initdesc_x()
1337 (void) fcntl(SHOUT = dcopy(1, FSHOUT), F_SETFD, 1); in initdesc_x()
1338 (void) fcntl(SHDIAG = dcopy(2, FSHDIAG), F_SETFD, 1); in initdesc_x()
1339 (void) fcntl(OLDSTD = dcopy(SHIN, FOLDSTD), F_SETFD, 1); in initdesc_x()
/titanic_41/usr/src/lib/libast/common/misc/
H A Dprocopen.c232 fcntl(m->save, F_SETFD, FD_CLOEXEC); in modify()
243 fcntl(arg1, F_SETFD, FD_CLOEXEC); in modify()
248 fcntl(arg1, F_SETFD, 0); in modify()
319 fcntl(m->arg.fd.parent.fd, F_SETFD, m->arg.fd.parent.flag); in restore()
325 fcntl(m->arg.fd.child.fd, F_SETFD, FD_CLOEXEC); in restore()
328 fcntl(m->arg.fd.parent.fd, F_SETFD, 0); in restore()
817 fcntl(proc->rfd, F_SETFD, FD_CLOEXEC); in procopen()
819 fcntl(proc->wfd, F_SETFD, FD_CLOEXEC); in procopen()
/titanic_41/usr/src/cmd/ttymon/
H A Dtmlog.c76 if (fcntl(ret, F_SETFD, FD_CLOEXEC) == 0) { in openttymonlog()
123 (void) fcntl(fileno(Logfp), F_SETFD, 1); in roll_log()
260 if (fcntl(fileno(Debugfp), F_SETFD, 1) == -1) in opendebug()
H A Dttymon.c427 if (fcntl(fd, F_SETFD, 1) == -1)
655 if (fcntl(PCpipe[0], F_SETFD, 1) == -1) in setup_PCpipe()
658 if (fcntl(PCpipe[1], F_SETFD, 1) == -1) in setup_PCpipe()
/titanic_41/usr/src/lib/libcurses/screen/
H A Dtypeahead.c109 (void) fcntl(cur_term->_check_fd, F_SETFD, 1); in typeahead()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dinuse_dump.c76 (void) fcntl(dump_fd, F_SETFD, FD_CLOEXEC); in inuse_dump()
/titanic_41/usr/src/lib/libc/port/rt/
H A Dshm.c59 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) { in shm_open()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dopendir.c72 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
/titanic_41/usr/src/lib/libast/common/dir/
H A Dopendir.c58 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
/titanic_41/usr/src/lib/libc/port/gen/
H A Dfdopendir.c64 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) in fdopendir()
H A Dlfmt_log.c95 fcntl(fd, F_SETFD, 1) == -1)) in __lfmt_log()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dfcntlcom.h123 #define F_SETFD 2 /* Set fildes flags (close on exec) */ macro
/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_open.c112 if (fcntl(*fdp, F_SETFD, 1) == -1) {
/titanic_41/usr/src/ucbhead/sys/
H A Dfcntl.h77 #define F_SETFD 2 /* Set fildes flags */ macro
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_context.c87 (void) fcntl(zfd, F_SETFD, FD_CLOEXEC); in mdb_context_create()
H A Dmdb_shell.c78 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in closefd_walk()
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Diod_cl.c120 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in smb_iod_open_door()
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_cache_door.c139 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); in __ns_ldap_trydoorcall_getfd()
/titanic_41/usr/src/lib/libcontract/common/
H A Dlibcontract_priv.c55 if ((flags != -1) && (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) != -1)) in close_on_exec()
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Dsend.c102 if (fcntl(s, F_SETFD, FD_CLOEXEC) == -1)
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsubshell.c113 fcntl(fd,F_SETFD,FD_CLOEXEC); in sh_subtmpfile()
132 fcntl(1,F_SETFD,0); in sh_subtmpfile()
149 sh_fcntl(sp->pipefd,F_SETFD,FD_CLOEXEC); in sh_subtmpfile()
627 fcntl(fd,F_SETFD,FD_CLOEXEC); in sh_subshell()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c148 (void) fcntl(fd, F_SETFD, 1); /* close on exec */ in rpc_call()

1234