Home | History | Annotate | Download | only in utsname

Lines Matching refs:p2fd

97 int p1fd[2], p2fd[2];
126 close(p2fd[0]);
144 write(p2fd[1], "1", 1);
163 write(p2fd[1], "1", 1);
189 write(p2fd[1], "1", 1); /* tell p2 to go ahead and sethostname */
208 write(p2fd[1], "1", 1); /* tell p2 to go ahead and sethostname */
235 close(p2fd[1]);
246 len = read(p2fd[0], hostname, 1);
255 len = read(p2fd[0], hostname, 1);
306 if (pipe(p2fd) == -1) {
342 write(p2fd[1], "0", 1); /* don't let p2 hang */