mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Update.
1998-10-15 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios again. Use char[44] to define size of the struct.
This commit is contained in:
parent
fcab9698e0
commit
909927d241
@ -1,3 +1,8 @@
|
|||||||
|
1998-10-15 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
|
||||||
|
again. Use char[44] to define size of the struct.
|
||||||
|
|
||||||
1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
||||||
|
|
||||||
* string/bits/string2.h (strcmp): Don't cache the result of
|
* string/bits/string2.h (strcmp): Don't cache the result of
|
||||||
|
@ -20,35 +20,18 @@
|
|||||||
# error "Never use <bits/ioctls.h> directly; include <sys/ioctl.h> instead."
|
# error "Never use <bits/ioctls.h> directly; include <sys/ioctl.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Get the necessary definitions. */
|
|
||||||
#include <termios.h>
|
|
||||||
|
|
||||||
/* Use the definitions from the kernel header files. */
|
/* Use the definitions from the kernel header files. */
|
||||||
#include <asm/ioctls.h>
|
#include <asm/ioctls.h>
|
||||||
|
|
||||||
/* We need the kernel definition of the `termios' struct. */
|
|
||||||
#define __KERNEL_NCCS 19
|
|
||||||
struct __kernel_termios
|
|
||||||
{
|
|
||||||
tcflag_t c_iflag; /* input mode flags */
|
|
||||||
tcflag_t c_oflag; /* output mode flags */
|
|
||||||
tcflag_t c_cflag; /* control mode flags */
|
|
||||||
tcflag_t c_lflag; /* local mode flags */
|
|
||||||
cc_t c_cc[__KERNEL_NCCS]; /* control characters */
|
|
||||||
cc_t c_line; /* line discipline */
|
|
||||||
speed_t c_ispeed; /* input speed */
|
|
||||||
speed_t c_ospeed; /* output speed */
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Oh well, this is necessary since the kernel data structure is
|
/* Oh well, this is necessary since the kernel data structure is
|
||||||
different from the user-level version. */
|
different from the user-level version. */
|
||||||
#undef TCGETS
|
#undef TCGETS
|
||||||
#undef TCSETS
|
#undef TCSETS
|
||||||
#undef TCSETSW
|
#undef TCSETSW
|
||||||
#undef TCSETSF
|
#undef TCSETSF
|
||||||
#define TCGETS _IOR ('t', 19, struct __kernel_termios)
|
#define TCGETS _IOR ('t', 19, char[44])
|
||||||
#define TCSETS _IOW ('t', 20, struct __kernel_termios)
|
#define TCSETS _IOW ('t', 20, char[44])
|
||||||
#define TCSETSW _IOW ('t', 21, struct __kernel_termios)
|
#define TCSETSW _IOW ('t', 21, char[44])
|
||||||
#define TCSETSF _IOW ('t', 22, struct __kernel_termios)
|
#define TCSETSF _IOW ('t', 22, char[44])
|
||||||
|
|
||||||
#include <linux/sockios.h>
|
#include <linux/sockios.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user