ioctl translation preliminary patch

Richard Henderson rth@cygnus.com
Wed Aug 5 08:14:00 GMT 1998


Is the change in termios extension compatible with what the kernel
accepts now?  I.e. all the new stuff is at the end?  If so, just
take the approach Sparc did:

/* Oh well, this is necessary since the kernel data structure is
   different from the user-level version.  */
#undef  TCGETS
#undef  TCSETS
#undef  TCSETSW
#undef  TCSETSF
#define TCGETS  _IOR ('T', 8, char[36])
#define TCSETS  _IOW ('T', 9, char[36])
#define TCSETSW _IOW ('T', 10, char[36])
#define TCSETSF _IOW ('T', 11, char[36])


r~



More information about the Libc-alpha mailing list