Lines Matching refs:tst
230 char tst[2];
232 tst[0] = 'a'; tst[1] = 'z';
238 if(recv_peek_pipe == 1 && write(fds[1], tst, 2) != 2)
242 tst[0] = tst[1] = 0;
243 if(recv_peek_pipe == 1 && (r = recv(fds[0], tst, 1, MSG_PEEK)) != 1)
245 if(recv_peek_pipe == 1 && tst[0] != 'a')
249 tst[0] = tst[1] = 0;
250 if(recv_peek_pipe == 1 && (r = recv(fds[0], tst, 2, MSG_PEEK)) != 2)
252 if(recv_peek_pipe == 1 && (tst[0] != 'a' || tst[1] != 'z') )