HelenOS sources

telnet_user_byte_avail  442 uspace/srv/hid/remcons/user.c 		} while (next_byte == 0 && telnet_user_byte_avail(user));
telnet_user_byte_avail  454 uspace/srv/hid/remcons/user.c 	} while (size > 0 && (telnet_user_byte_avail(user) || *nread == 0));
HelenOS homepage, sources at GitHub