看板
[ LinuxDev ]
討論串[問題] 關於終端機的游標控制
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
我後來找到用ioctl控制console. 但遇到參數方面的問題. 我的程式碼:. int fd = open("/dev/tty", O_NOCTTY_;. if(fd == -1). perror("open");. ret = ioctl(fd, KDGETLED, &arg);. if(re
(還有71個字)
首頁
上一頁
1
下一頁
尾頁