mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 16:21:06 +00:00
hurd: Fix termios.h symbols
* bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define. [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define. [__USE_XOPEN] (OFDEL): New macro. [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
This commit is contained in:
parent
ed37092475
commit
a564872d2d
@ -79,6 +79,10 @@
|
|||||||
sigevent's sigev_notify_attributes field a pthread_attr_t*.
|
sigevent's sigev_notify_attributes field a pthread_attr_t*.
|
||||||
* bits/types/siginfo_t.h: Remove siginfo struct name, unused and
|
* bits/types/siginfo_t.h: Remove siginfo struct name, unused and
|
||||||
non-compliant.
|
non-compliant.
|
||||||
|
* bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
|
||||||
|
[__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
|
||||||
|
[__USE_XOPEN] (OFDEL): New macro.
|
||||||
|
[__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
|
||||||
|
|
||||||
2018-04-18 Joseph Myers <joseph@codesourcery.com>
|
2018-04-18 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
@ -123,13 +123,13 @@ struct termios
|
|||||||
#define ICRNL (1 << 8) /* Map CR to NL on input. */
|
#define ICRNL (1 << 8) /* Map CR to NL on input. */
|
||||||
#define IXON (1 << 9) /* Enable start/stop output control. */
|
#define IXON (1 << 9) /* Enable start/stop output control. */
|
||||||
#define IXOFF (1 << 10) /* Enable start/stop input control. */
|
#define IXOFF (1 << 10) /* Enable start/stop input control. */
|
||||||
#if defined __USE_MISC || defined __USE_UNIX98
|
#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_XOPEN2K8
|
||||||
# define IXANY (1 << 11) /* Any character will restart after stop. */
|
# define IXANY (1 << 11) /* Any character will restart after stop. */
|
||||||
#endif
|
#endif
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define IMAXBEL (1 << 13) /* Ring bell when input queue is full. */
|
# define IMAXBEL (1 << 13) /* Ring bell when input queue is full. */
|
||||||
#endif
|
#endif
|
||||||
#ifdef __USE_GNU
|
#if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
|
||||||
# define IUCLC (1 << 14) /* Translate upper case input to lower case. */
|
# define IUCLC (1 << 14) /* Translate upper case input to lower case. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -172,11 +172,12 @@ struct termios
|
|||||||
# define VT0 (0 << 16) /* VT delay type 0. */
|
# define VT0 (0 << 16) /* VT delay type 0. */
|
||||||
# define VT1 (1 << 16) /* VT delay type 1. */
|
# define VT1 (1 << 16) /* VT delay type 1. */
|
||||||
#endif /* __USE_MISC || __USE_XOPEN */
|
#endif /* __USE_MISC || __USE_XOPEN */
|
||||||
#ifdef __USE_GNU
|
#if defined __USE_GNU || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
|
||||||
# define OLCUC (1 << 17) /* Translate lower case output to upper case */
|
# define OLCUC (1 << 17) /* Translate lower case output to upper case */
|
||||||
#endif
|
#endif
|
||||||
#ifdef __USE_XOPEN
|
#ifdef __USE_XOPEN
|
||||||
# define OFILL (1 << 18) /* Send fill characters for delays. */
|
# define OFILL (1 << 18) /* Send fill characters for delays. */
|
||||||
|
# define OFDEL (1 << 19) /* Fill is DEL. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Control modes. */
|
/* Control modes. */
|
||||||
@ -237,6 +238,11 @@ struct termios
|
|||||||
#define TOSTOP _TOSTOP
|
#define TOSTOP _TOSTOP
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define FLUSHO (1 << 23) /* Output being flushed (state). */
|
# define FLUSHO (1 << 23) /* Output being flushed (state). */
|
||||||
|
#endif
|
||||||
|
#if defined __USE_XOPEN && !defined __USE_XOPEN2K
|
||||||
|
# define XCASE (1 << 24) /* Canonical upper/lower case. */
|
||||||
|
#endif
|
||||||
|
#ifdef __USE_MISC
|
||||||
# define NOKERNINFO (1 << 25) /* Disable VSTATUS. */
|
# define NOKERNINFO (1 << 25) /* Disable VSTATUS. */
|
||||||
# define PENDIN (1 << 29) /* Retype pending input (state). */
|
# define PENDIN (1 << 29) /* Retype pending input (state). */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user