This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: termios.h


[Sent to me by Christian in private mail.]

Cristian Gafton <gafton@redhat.com> writes:

> Shouldn't termios.h include the sys/ioctl.h header file ? All the TIOC*
> stuff from asm/ioctls.h does not get defined when one includes just
> <termios.h> ?

I think what has to be done is to put the TIOC* macros in a separate
header which can be included by bits/ioctls.h and bits/termios.h.
This would mean bits/ioctls.h cannot use asm/ioctls.h anymore.

Does anybody see problems?  Any volunteers?

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]