Home
last modified time | relevance | path

Searched refs:F_DUPFD (Results 1 – 25 of 45) sorted by relevance

12

/titanic_41/usr/src/lib/libast/common/features/
H A Dfcntl.c106 #ifndef F_DUPFD in main()
109 if (F_DUPFD > f_local) f_local = F_DUPFD; in main()
171 #ifndef F_DUPFD in main()
/titanic_41/usr/src/lib/libast/common/comp/
H A Dfcntl.c63 #if F_DUPFD >= _ast_F_LOCAL
64 case F_DUPFD:
H A Ddup2.c43 return(fcntl(d1, F_DUPFD, d2));
/titanic_41/usr/src/lib/libgen/common/
H A Dp2open.c90 (void) fcntl(tocmd[0], F_DUPFD, 0); in __p2open()
94 (void) fcntl(fromcmd[1], F_DUPFD, 1); in __p2open()
/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfsetfd.c39 #ifdef F_DUPFD /* the simple case */
40 while((dupfd = sysfcntlf(fd,F_DUPFD,newfd)) < 0 && errno == EINTR)
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Ddup.c35 if ((ret = _syscall(SYS_fcntl, fd, F_DUPFD, 0)) == -1) in dup()
H A Ddup2.c73 if ((ret = fcntl(fildes, F_DUPFD, fildes2)) != -1) { in dup2()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c200 if(fcntl(n,F_DUPFD,FDIN) != FDIN) in main()
390 if(fcntl(n,F_DUPFD,FDVERIFY) != FDVERIFY) in setids()
452 if(fcntl(pv[1],F_DUPFD,FDSYNC) != FDSYNC) in setids()
H A Dsubshell.c111 if((sp->tmpfd = fd = fcntl(1,F_DUPFD,10)) >= 0) in sh_subtmpfile()
159 if((sh_fcntl(fds[1],F_DUPFD, 1)) != 1) in sh_subtmpfile()
169 fcntl(1,F_DUPFD, fd); in sh_subtmpfile()
638 if (fcntl(sp->tmpfd,F_DUPFD,1) != 1) in sh_subshell()
H A Dio.c546 fd = sh_fcntl(f2,F_DUPFD,10); in io_preserve()
604 if((f2 = sh_fcntl(f1,F_DUPFD, f2)) < 0) in sh_iorenumber()
1102 if((fd=sh_fcntl(dupfd,F_DUPFD,3))<0) in sh_redirect()
1284 if((r=sh_fcntl(fd,F_DUPFD,10)) > 0) in sh_redirect()
1314 if((fn=fcntl(fd,F_DUPFD,10)) < 0) in sh_redirect()
1466 if((savefd = sh_fcntl(origfd, F_DUPFD, 10)) < 0 && errno!=EBADF) in sh_iosave()
1548 sh_fcntl(savefd, F_DUPFD, origfd); in sh_iorestore()
2295 case F_DUPFD: in sh_fcntl()
/titanic_41/usr/src/lib/libc/port/gen/
H A Ddup.c41 return (fcntl(fildes, F_DUPFD, 0)); in dup()
/titanic_41/usr/src/cmd/ttymon/
H A Dtmlog.c74 if ((ret = fcntl(fd, F_DUPFD, 3)) == 3) { in openttymonlog()
248 if ((ret = fcntl(fd, F_DUPFD, 3)) < 0) in opendebug()
/titanic_41/usr/src/lib/libast/common/misc/
H A Dprocopen.c169 if (fcntl(arg1, F_DUPFD, arg2) != arg2) in modify()
227 if ((m->save = fcntl(arg2, F_DUPFD, 3)) < 0) in modify()
234 if (fcntl(arg1, F_DUPFD, arg2) != arg2) in modify()
317 fcntl(m->arg.fd.child.fd, F_DUPFD, m->arg.fd.parent.fd); in restore()
322 fcntl(m->save, F_DUPFD, m->arg.fd.child.fd); in restore()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dfcntlcom.h121 #define F_DUPFD 0 /* Duplicate fildes */ macro
/titanic_41/usr/src/tools/cscope-fast/
H A Dmypopen.c75 (void) fcntl(yourside, F_DUPFD, stdio); in mypopen()
/titanic_41/usr/src/lib/libmail/common/
H A Dpopenvp.c85 (void) fcntl(yourside, F_DUPFD, stdio); in popenvp()
/titanic_41/usr/src/ucbhead/sys/
H A Dfcntl.h75 #define F_DUPFD 0 /* Duplicate fildes */ macro
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dmkservice.c287 fd = fcntl(accept_fd, F_DUPFD, 10); in Accept()
449 if((sp->fd = fcntl(fd, F_DUPFD, 10))>=10) in b_mkservice()
/titanic_41/usr/src/lib/libpkg/common/
H A Ddstream.c811 fd2 = fcntl(fd, F_DUPFD, fd); in ds_ginit()
813 (void) fcntl(ds_fd, F_DUPFD, fd); in ds_ginit()
826 (void) fcntl(fd2, F_DUPFD, fd); in ds_ginit()
/titanic_41/usr/src/uts/common/sys/
H A Dfcntl.h94 #define F_DUPFD 0 /* Duplicate fildes */ macro
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/
H A Dfcntl.c149 if (cmd == F_DUPFD) {
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/
H A Dfcntl.c154 if (cmd == F_DUPFD) {
/titanic_41/usr/src/lib/libshell/common/edit/
H A Dhistory.c154 if((n = fcntl(acctfd, F_DUPFD, 10)) >= 0) in acctinit()
274 if((n=fcntl(fd,F_DUPFD,10))>=0) in sh_histinit()
389 if((n = sh_fcntl(fd,F_DUPFD, 10)) >= 0) in sh_histinit()
1169 if(fcntl(newfd, F_DUPFD, oldfd) !=oldfd) in hist_exceptf()
/titanic_41/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c294 fd_new = fcntl(fd, F_DUPFD, 0); in brand_close_fh()
/titanic_41/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c248 tmpfd = fcntl(fd, F_DUPFD, 256); in dapli_process_tavor_node()
502 tmpfd = fcntl(fd, F_DUPFD, 256); in dapls_ib_open_hca()

12