Searched refs:recv_peek_ok (Results 1 – 1 of 1) sorted by relevance
212 static int recv_peek_ok; local213 if (!recv_peek_ok)219 …recv_peek_ok = (!pipe(fds) && write(fds[1], tst, 2) && recv(fds[0], tst, 1, MSG_PEEK) == 1 && tst[…223 if (recv_peek_ok < 0 && !fstat(fd, &st) && !S_ISSOCK(st.st_mode))