Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
man pty说……
man pty
The BSD ioctl(2) operations TIOCSTOP, TIOCSTART, TIOCUCNTL, and TIOCREMOTE have not been implemented under Linux.
为什么这样?这些操作是如何处理的linux?
linux
自 Linux 2.6.4 起, BSD 样式的 PTY已被弃用。应该改用 System V (UNIX 98) 风格的 PTY。
ioctl这可能是这些操作至今仍未实施的原因。
ioctl