cons 110 usr/sample/balls/balls.c device_t cons; cons 113 usr/sample/balls/balls.c device_open("tty", 0, &cons); cons 114 usr/sample/balls/balls.c if (device_ioctl(cons, TIOCGWINSZ, &ws) == 0) { cons 122 usr/sample/balls/balls.c device_close(cons);