Home
last modified time | relevance | path

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

/netbsd-src/usr.bin/telnet/
H A Dsys_bsd.c601 int canread; in process_rings() local
603 canread = ring_empty_consecutive(&netiring); in process_rings()
604 c = recv(net, (char *)netiring.supply, canread, 0); in process_rings()
/netbsd-src/sys/kern/
H A Dtty_pty.c916 int canread; in filt_ptcread() local
925 canread = (ISSET(tp->t_state, TS_ISOPEN) && in filt_ptcread()
930 if (canread) { in filt_ptcread()
943 canread = 1; in filt_ptcread()
950 return canread; in filt_ptcread()
/netbsd-src/tests/dev/audio/
H A Daudiotest.c2326 bool canread; in test_rdwr_two() local
2333 bool canread; in test_rdwr_two() member
2375 canread = exptable[mode0 * 3 + mode1].canread; in test_rdwr_two()
2406 if (canread) { in test_rdwr_two()
4826 bool canread; in test_AUDIO_SETINFO_mode() local
4891 canread = (openmode != O_WRONLY); in test_AUDIO_SETINFO_mode()
4893 canread = ((inimode & AUMODE_RECORD) != 0); in test_AUDIO_SETINFO_mode()
4896 if (canread) { in test_AUDIO_SETINFO_mode()