Lines Matching refs:child
183 int stdio, parent[2], child[2];
202 parent[0] = parent[1] = child[0] = child[1] = -1;
206 if((sflags&SF_RDWR) == SF_RDWR && syspipef(child) < 0)
231 { CLOSE(child[!ckeep]);
232 SETCLOEXEC(child[ckeep]);
237 fd = (sflags&SF_RDWR) == SF_RDWR ? child[ckeep] : -1;
255 CLOSE(child[!ckeep]);
262 if((sflags&SF_RDWR) == SF_RDWR && pkeep == child[ckeep])
263 if((child[ckeep] = sysdupf(pkeep)) < 0)
273 if((sflags&SF_RDWR) == SF_RDWR && child[ckeep] != ckeep)
274 { sf.file = child[ckeep];
288 if(child[0] >= 0)
289 { CLOSE(child[0]); CLOSE(child[1]); }