Searched refs:vtnum (Results 1 - 1 of 1) sorted by relevance
/system/core/toolbox/ |
H A D | setconsole.c | 22 fprintf(stderr, "ioctl( vcfd, VT_ACTIVATE, vtnum) failed, %d %d %s for %d\n", res, errno, strerror(errno), activate_thread_switch_vc); 121 int vtnum; local 122 res = ioctl(fd, VT_OPENQRY, &vtnum); 123 if (res < 0 || vtnum == -1) { 124 fprintf(stderr, "ioctl(vcfd, VT_OPENQRY, &vtnum) failed, res %d, vtnum %d\n", res, vtnum); 126 switch_vc = vtnum; 141 fprintf(stderr, "ioctl( vcfd, VT_WAITACTIVE, vtnum) failed, %d %d %s for %d\n", res, errno, strerror(errno), switch_vc);
|
Completed in 94 milliseconds