Lines Matching refs:cestnepasun
198 int cestnepasun[4], pid; in xpopen_both() local
205 if (pipe(cestnepasun+(2*pid))) perror_exit("pipe"); in xpopen_both()
206 pipes[pid] = cestnepasun[pid+1]; in xpopen_both()
216 if (pipes[1] != -1) close(cestnepasun[2]); in xpopen_both()
218 close(cestnepasun[1]); in xpopen_both()
219 if (cestnepasun[0]) { in xpopen_both()
220 dup2(cestnepasun[0], 0); in xpopen_both()
221 close(cestnepasun[0]); in xpopen_both()
225 dup2(cestnepasun[3], 1); in xpopen_both()
226 dup2(cestnepasun[3], 2); in xpopen_both()
227 if (cestnepasun[3] > 2 || !cestnepasun[3]) close(cestnepasun[3]); in xpopen_both()
256 if (pipes[0] != -1) close(cestnepasun[0]); in xpopen_both()
257 if (pipes[1] != -1) close(cestnepasun[3]); in xpopen_both()