diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-27 20:16:19 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-27 20:16:19 +0000 |
commit | 807912915b065225c55bf0ac0277cb71fc394e6d (patch) | |
tree | 8a9f28acd562fabf51b882ea4197a3887b61d86a /sysdeps/unix/sysv/linux/termio.h | |
parent | d36e76923049df98b0f5c99a32cdd79302bf9dff (diff) | |
download | glibc-807912915b065225c55bf0ac0277cb71fc394e6d.tar.gz glibc-807912915b065225c55bf0ac0277cb71fc394e6d.tar.xz glibc-807912915b065225c55bf0ac0277cb71fc394e6d.zip |
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
Append termio.h. * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing. * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never defined. * sysdeps/unix/sysv/linux/termio.h: New file. * sysdeps/unix/sysv/linux/Dist: Add it. * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around kernel header <asm/termios.h>. * misc/Makefile (headers): Add ioctl-types.h. * sysdeps/generic/ioctl-types.h: New file. * misc/sys/ioctl.h: Include <ioctl-types.h>. (struct tchars, struct ltchars, struct sgttyb, struct winsize, struct ttysize): Types moved there.
Diffstat (limited to 'sysdeps/unix/sysv/linux/termio.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/termio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/termio.h b/sysdeps/unix/sysv/linux/termio.h new file mode 100644 index 0000000000..0e610f0c56 --- /dev/null +++ b/sysdeps/unix/sysv/linux/termio.h @@ -0,0 +1,6 @@ +/* Compatible <termio.h> for old `struct termio' ioctl interface. + This is obsolete; use the POSIX.1 `struct termios' interface + defined in <termios.h> instead. */ + +#include <termios.h> +#include <sys/ioctl.h> |