Эх сурвалжийг харах

Add wrapper for old termio interface

Eric Andersen 24 жил өмнө
parent
commit
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>