Any way to get "echoctl" (in stty) support in Linux?
Jakub Jelinek
jakub@redhat.com
Sat Apr 14 17:41:00 GMT 2007
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
More information about the Libc-alpha
mailing list