Searched refs:switch_vc (Results 1 – 1 of 1) sorted by relevance
/system/core/toolbox/ |
D | setconsole.c | 40 int switch_vc = -1; in setconsole_main() local 73 switch_vc = atoi(optarg); in setconsole_main() 99 if(mode == -1 && new_vc == 0 && close_vc == 0 && switch_vc == -1 && printvc == 0) { in setconsole_main() 126 switch_vc = vtnum; in setconsole_main() 128 if (switch_vc != -1) { in setconsole_main() 131 activate_thread_switch_vc = switch_vc; in setconsole_main() 137 res = ioctl(fd, VT_WAITACTIVE, (void*)switch_vc); in setconsole_main() 141 …l( vcfd, VT_WAITACTIVE, vtnum) failed, %d %d %s for %d\n", res, errno, strerror(errno), switch_vc); in setconsole_main() 144 printf("%d\n", switch_vc); in setconsole_main()
|