F_DUPFD
(void) fcntl(p[1], F_DUPFD, 1);
(void)fcntl((*str == '!')? TTYERR:Cn,F_DUPFD,TTYOUT);
(void)fcntl(Cn,F_DUPFD,TTYIN);
if (fcntl(p[1], F_DUPFD, 1) != 1) {
if ((ret = fcntl(i, F_DUPFD, 5)) != 5)
dupfd = fcntl(connfd, F_DUPFD, 256);
f = fcntl(fd, F_DUPFD, 10);
#define FCNTLMIN F_DUPFD
int dfd = fcntl(fd, F_DUPFD, 3);
(void) fcntl(2, F_DUPFD, 1);
(void) fcntl(ofd, F_DUPFD, 1);
(void) fcntl(1, F_DUPFD, 2);
if ((ret = fcntl(fd, F_DUPFD, 3)) < 0)
if ((ret = fcntl(fd, F_DUPFD, 3)) == 3) {
dfd = fcntl(fd, F_DUPFD, EXTRA_MARGIN);
if ((newfd = fcntl(fd, F_DUPFD, targetfd)) != -1)
fd_new = fcntl(fd, F_DUPFD, 0);
return (__systemcall(rval, SYS_fcntl + 1024, fd, F_DUPFD, 0, 0));
dfd = fcntl(fd, F_DUPFD, (intptr_t)dfd);
return (fcntl(fildes, F_DUPFD, 0));
dfd = fcntl(fd, F_DUPFD, (intptr_t)dfd);
(void) fcntl(tocmd[0], F_DUPFD, 0);
(void) fcntl(fromcmd[1], F_DUPFD, 1);
(void) fcntl(yourside, F_DUPFD, stdio);
if ((nfd = fcntl(fd, F_DUPFD, RPC_MINFD)) == -1)
fd2 = fcntl(fd, F_DUPFD, fd);
(void) fcntl(ds_fd, F_DUPFD, fd);
(void) fcntl(fd2, F_DUPFD, fd);
dfd = fcntl(fd, F_DUPFD, dfd);
tmpfd = fcntl(p->rsmseg_fd, F_DUPFD, 256); /* make fd > 255 */
tmpfd = fcntl(_rsm_fd, F_DUPFD, 3);
tmpfd = fcntl(p->rsmseg_fd, F_DUPFD, 256);
tmpfd = fcntl(fd, F_DUPFD, 256);
tmpfd = fcntl(fd, F_DUPFD, 256);
fd = pr_fcntl(P, PRT_NULL_FD, F_DUPFD, (void *)farg0, NULL);
case F_DUPFD:
oclo_fdup_common(c, 0, F_DUPFD);
(void) fcntl(yourside, F_DUPFD, stdio);
case F_DUPFD: