This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: ioctl translation preliminary patch
- To: libc-alpha@cygnus.com
- Subject: Re: ioctl translation preliminary patch
- From: Richard Henderson <rth@cygnus.com>
- Date: Wed, 5 Aug 1998 08:14:32 -0700
- References: <19980805001513.A18755@mindcryme.com>
- Reply-To: Richard Henderson <rth@cygnus.com>
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~