Explorar o código

Add wrapper for old termio interface

Eric Andersen %!s(int64=25) %!d(string=hai) anos
pai
achega
f87967b01f
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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>