This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: Any way to get "echoctl" (in stty) support in Linux?


On Sat, Apr 14, 2007 at 10:34:07AM -0600, Joe Peterson wrote:
> I would really love the option to turn this feature on, and I fear there
> is no way to do so in Linux.  Anyone know otherwise?  I am writing to

Please read
info libc 'Feature Test Macros'

Particularly, __USE_MISC features will be available by default, unless one
of
-ansi
-std=c89
-std=c99
-D_POSIX_SOURCE=...
-D_POSIX_C_SOURCE=...
-D_XOPEN_SOURCE=...
-D_ISOC99_SOURCE
is used, or if in addition to the above -D_GNU_SOURCE, -D_BSD_SOURCE
or -D_SVID_SOURCE is used.  ECHOCTL is not in POSIX etc., so can't be
visible in the headers if e.g. strict POSIX source compatibility is requested.

	Jakub


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