Home | History | Annotate | Download | only in net

Lines Matching refs:in1

75   int sockfd = -1, in1 = 0, in2 = 0, out1 = 1, out2 = 1;
96 if (TT.f) in1 = out2 = xopen(TT.f, O_RDWR);
107 in1 = out2 = sockfd;
109 pollinate(in1, in2, out1, out2, TT.W, TT.q);
139 in1 = out2 = accept(sockfd, (struct sockaddr *)address, &len);
140 if (in1<0) perror_exit("accept");
157 close(in1);
160 dup2(in1, 0);
161 dup2(in1, 1);
162 if (toys.optflags&FLAG_L) dup2(in1, 2);
163 if (in1>2) close(in1);
167 pollinate(in1, in2, out1, out2, TT.W, TT.q);
168 close(in1);
175 close(in1);