Searched refs:eventstream (Results 1 – 2 of 2) sorted by relevance
384 static int eventstream[2]; variable389 if (pipe(eventstream) == -1) in eventstream_init()397 (void) write(eventstream[channel], pevt, sizeof (vt_evt_t)); in eventstream_write()405 rval = read(eventstream[channel], pevt, sizeof (vt_evt_t)); in eventstream_read()430 rval = fstat(eventstream[0], &buf); in vt_clear_events()459 pollfds[0].fd = eventstream[0]; in vt_poll()833 pollfds[0].fd = eventstream[1]; in vt_serve_events()
131 static int eventstream[2]; variable138 if (pipe(eventstream) == -1) in eventstream_init()146 (void) write(eventstream[0], &evt, sizeof (evt)); in eventstream_write()154 (void) read(eventstream[1], &evt, sizeof (evt)); in eventstream_read()741 pollfds[3].fd = eventstream[1]; in do_console_io()