HelenOS sources

cons_read         145 uspace/srv/hid/console/console.c static errno_t cons_read(con_srv_t *, void *, size_t, size_t *);
cons_read         168 uspace/srv/hid/console/console.c 	.read = cons_read,
HelenOS homepage, sources at GitHub