/illumos-gate/usr/src/contrib/ast/src/lib/libast/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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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));
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | p2open.c | 88 (void) fcntl(tocmd[0], F_DUPFD, 0); in __p2open() 92 (void) fcntl(fromcmd[1], F_DUPFD, 1); in __p2open()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfsetfd.c | 39 #ifdef F_DUPFD /* the simple case */ 40 while((dupfd = sysfcntlf(fd,F_DUPFD,newfd)) < 0 && errno == EINTR)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | procopen.c | 181 if (fcntl(arg1, F_DUPFD, arg2) != arg2) in modify() 204 if (arg1 != i && arg2 != i && fcntl(arg1, F_DUPFD, i) != i) in modify() 267 #if F_dupfd_cloexec == F_DUPFD in modify() 271 if (fcntl(arg1, F_DUPFD, arg2) != arg2) in modify() 354 fcntl(m->arg.fd.child.fd, F_DUPFD, m->arg.fd.parent.fd); in restore() 359 fcntl(m->save, F_DUPFD, m->arg.fd.child.fd); in restore()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/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 | 125 if((sp->tmpfd = fd = fcntl(1,F_DUPFD,10)) >= 0) in sh_subtmpfile() 149 if((sh_fcntl(fds[1],F_DUPFD, 1)) != 1) in sh_subtmpfile() 563 sp->pwdfd = fcntl(n,F_DUPFD,10); in sh_subshell() 701 if (fcntl(sp->tmpfd,F_DUPFD,1) != 1) in sh_subshell()
|
H A D | io.c | 599 fd = sh_fcntl(f2,F_DUPFD,10); in io_preserve() 666 if((f2 = sh_fcntl(f1,F_DUPFD, f2)) < 0) in sh_iorenumber() 942 if((pv[out]=sh_fcntl(fd,F_DUPFD,10)) >=10) in sh_coaccept() 1319 if((fd=sh_fcntl(dupfd,F_DUPFD,3))<0) in sh_redirect() 1507 if((r=sh_fcntl(fd,F_DUPFD,10)) > 0) in sh_redirect() 1538 if((fn=fcntl(fd,F_DUPFD,10)) < 0) in sh_redirect() 1718 if((savefd = sh_fcntl(origfd, F_DUPFD, 10)) < 0 && errno!=EBADF) in sh_iosave() 1818 sh_fcntl(savefd, F_DUPFD, origfd); in sh_iorestore() 2613 case F_DUPFD: in sh_fcntl()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmlog.c | 66 if ((ret = fcntl(fd, F_DUPFD, 3)) == 3) { in openttymonlog() 238 if ((ret = fcntl(fd, F_DUPFD, 3)) < 0) in opendebug()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | dup.c | 41 return (fcntl(fildes, F_DUPFD, 0)); in dup()
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | popenvp.c | 83 (void) fcntl(yourside, F_DUPFD, stdio); in popenvp()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | mypopen.c | 73 (void) fcntl(yourside, F_DUPFD, stdio); in mypopen()
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 74 #define F_DUPFD 0 /* Duplicate fildes */ macro
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 730 fd2 = fcntl(fd, F_DUPFD, fd); in ds_ginit() 732 (void) fcntl(ds_fd, F_DUPFD, fd); in ds_ginit() 745 (void) fcntl(fd2, F_DUPFD, fd); in ds_ginit()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/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()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 218 #define F_DUPFD 0 /* duplicate file descriptor */ macro
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 154 if((n = fcntl(acctfd, F_DUPFD, 10)) >= 0) in acctinit() 273 if((n=fcntl(fd,F_DUPFD,10))>=0) in sh_histinit() 389 if((n = sh_fcntl(fd,F_DUPFD, 10)) >= 0) in sh_histinit() 1201 if(fcntl(newfd, F_DUPFD, oldfd) !=oldfd) in hist_exceptf()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fcntl.h | 101 #define F_DUPFD 0 /* Duplicate fildes */ macro
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_hca.c | 249 tmpfd = fcntl(fd, F_DUPFD, 256); in dapli_process_tavor_node() 503 tmpfd = fcntl(fd, F_DUPFD, 256); in dapls_ib_open_hca()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | io.c | 390 f = fcntl(fd, F_DUPFD, 10); in savefd()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 2009 int dfd = fcntl(fd, F_DUPFD, 3); in xcreat() 2028 (void) fcntl(2, F_DUPFD, 1); in setoutput() 2031 (void) fcntl(ofd, F_DUPFD, 1); in setoutput() 2035 (void) fcntl(1, F_DUPFD, 2); in setoutput()
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 172 return (__systemcall(rval, SYS_fcntl + 1024, fd, F_DUPFD, 0)); in s10_dup()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_files.c | 576 if (fcntl(p[1], F_DUPFD, 1) != 1) { in read_execout()
|