소스 검색

Add wrapper for old termio interface

Eric Andersen 25 년 전
부모
커밋
f87967b01f
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      include/termio.h

+ 5 - 0
include/termio.h

@@ -1 +1,6 @@
+/* Compatible <termio.h> for old `struct termio' ioctl interface.
+   This is obsolete; use the POSIX.1 `struct termios' interface
+   defined in <termios.h> instead.  */
+
 #include <termios.h>
+#include <sys/ioctl.h>