man pty说...
The BSD ioctl(2) operations TIOCSTOP, TIOCSTART, TIOCUCNTL, and TIOCREMOTE
have not been implemented under Linux.为什么会这样呢?在linux中如何处理这些操作
发布于 2011-09-18 14:20:52
BSD风格的PTY have been deprecated since Linux 2.6.4。应改用System V (UNIX 98)-style PTY。
这可能就是这些ioctl操作至今仍未实现的原因。
https://stackoverflow.com/questions/7459781
复制相似问题