Searched defs:tty0_fd (Results 1 - 3 of 3) sorted by relevance
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fbevents.c | 251 int i, tty0_fd; local 254 tty0_fd = -1; 255 for ( i=0; tty0[i] && (tty0_fd < 0); ++i ) { 256 tty0_fd = open(tty0[i], O_WRONLY, 0); 258 if ( tty0_fd < 0 ) { 259 tty0_fd = dup(0); /* Maybe stdin is a VT? */ 261 ioctl(tty0_fd, VT_OPENQRY, ¤t_vt); 262 close(tty0_fd); 278 tty0_fd = open("/dev/tty", O_RDWR, 0); 279 if ( tty0_fd > [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
H A D | SDL_ipodvideo.c | 171 int i, tty0_fd; local 180 tty0_fd = -1; 181 for ( i=0; tty0[i] && (tty0_fd < 0); ++i ) { 182 tty0_fd = open(tty0[i], O_WRONLY, 0); 184 if ( tty0_fd < 0 ) { 185 tty0_fd = dup(0); /* Maybe stdin is a VT? */ 187 ioctl(tty0_fd, VT_OPENQRY, &curvt); 188 close(tty0_fd); 190 tty0_fd = open("/dev/tty", O_RDWR, 0); 191 if ( tty0_fd > [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
H A D | SDL_gsevents.c | 241 int i, tty0_fd; local 244 tty0_fd = -1; 245 for ( i=0; tty0[i] && (tty0_fd < 0); ++i ) { 246 tty0_fd = open(tty0[i], O_WRONLY, 0); 248 if ( tty0_fd < 0 ) { 249 tty0_fd = dup(0); /* Maybe stdin is a VT? */ 251 ioctl(tty0_fd, VT_OPENQRY, ¤t_vt); 252 close(tty0_fd); 268 tty0_fd = open("/dev/tty", O_RDWR, 0); 269 if ( tty0_fd > [all...] |
Completed in 49 milliseconds