Home | History | Annotate | Download | only in src

Lines Matching refs:close

142   // The client program may close its stdin and/or stdout and/or stderr
145 // if either the parent or the child tries to close or duplicate these
151 close(child_fds[j][0]);
152 close(child_fds[j][1]);
164 close(child_fds[j][0]);
165 close(child_fds[j][1]);
175 close(child_in[0]);
176 close(child_in[1]);
177 close(child_out[0]);
178 close(child_out[1]);
183 close(child_in[1]); // child uses the 0's, parent uses the 1's
184 close(child_out[1]); // child uses the 0's, parent uses the 1's
185 close(0);
186 close(1);
199 close(child_in[0]); // child uses the 0's, parent uses the 1's
200 close(child_out[0]); // child uses the 0's, parent uses the 1's
235 close(child_in[1]); // that's all we need to write
246 close(child_out[1]);
250 close(child_out[1]);