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