Searched refs:pdes (Results 1 – 1 of 1) sorted by relevance
75 int argc, gargc, pdes[2], pid; in ftpd_popen() local87 if (pipe(pdes) < 0) in ftpd_popen()126 (void)close(pdes[0]); in ftpd_popen()127 (void)close(pdes[1]); in ftpd_popen()132 if (pdes[1] != STDOUT_FILENO) { in ftpd_popen()133 dup2(pdes[1], STDOUT_FILENO); in ftpd_popen()134 (void)close(pdes[1]); in ftpd_popen()137 (void)close(pdes[0]); in ftpd_popen()139 if (pdes[0] != STDIN_FILENO) { in ftpd_popen()140 dup2(pdes[0], STDIN_FILENO); in ftpd_popen()[all …]