This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Any way to get "echoctl" (in stty) support in Linux?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Joe Peterson <joe at skyrush dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sat, 14 Apr 2007 19:48:08 +0200
- Subject: Re: Any way to get "echoctl" (in stty) support in Linux?
- References: <4621027F.4030609@skyrush.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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