Home
last modified time | relevance | path

Searched refs:recv_peek_ok (Results 1 – 1 of 1) sorted by relevance

/titanic_51/usr/src/lib/libast/common/sfio/
H A Dsfpkrd.c212 static int recv_peek_ok; local
213 if (!recv_peek_ok)
219recv_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))