/titanic_41/usr/src/lib/libast/common/features/ |
H A D | fcntl.c | 106 #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 D | fcntl.c | 63 #if F_DUPFD >= _ast_F_LOCAL 64 case F_DUPFD:
|
H A D | dup2.c | 43 return(fcntl(d1, F_DUPFD, d2));
|
/titanic_41/usr/src/lib/libgen/common/ |
H A D | p2open.c | 90 (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 D | sfsetfd.c | 39 #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 D | dup.c | 35 if ((ret = _syscall(SYS_fcntl, fd, F_DUPFD, 0)) == -1) in dup()
|
H A D | dup2.c | 73 if ((ret = fcntl(fildes, F_DUPFD, fildes2)) != -1) { in dup2()
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 200 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 D | subshell.c | 111 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 D | io.c | 546 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 D | dup.c | 41 return (fcntl(fildes, F_DUPFD, 0)); in dup()
|
/titanic_41/usr/src/cmd/ttymon/ |
H A D | tmlog.c | 74 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 D | procopen.c | 169 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 D | fcntlcom.h | 121 #define F_DUPFD 0 /* Duplicate fildes */ macro
|
/titanic_41/usr/src/tools/cscope-fast/ |
H A D | mypopen.c | 75 (void) fcntl(yourside, F_DUPFD, stdio); in mypopen()
|
/titanic_41/usr/src/lib/libmail/common/ |
H A D | popenvp.c | 85 (void) fcntl(yourside, F_DUPFD, stdio); in popenvp()
|
/titanic_41/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 75 #define F_DUPFD 0 /* Duplicate fildes */ macro
|
/titanic_41/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 287 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 D | dstream.c | 811 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 D | fcntl.h | 94 #define F_DUPFD 0 /* Duplicate fildes */ macro
|
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | fcntl.c | 149 if (cmd == F_DUPFD) {
|
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | fcntl.c | 154 if (cmd == F_DUPFD) {
|
/titanic_41/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 154 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 D | brand_util.c | 294 fd_new = fcntl(fd, F_DUPFD, 0); in brand_close_fh()
|
/titanic_41/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_hca.c | 248 tmpfd = fcntl(fd, F_DUPFD, 256); in dapli_process_tavor_node() 502 tmpfd = fcntl(fd, F_DUPFD, 256); in dapls_ib_open_hca()
|