mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
* 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.
This commit is contained in:
6
sysdeps/unix/sysv/linux/termio.h
Normal file
6
sysdeps/unix/sysv/linux/termio.h
Normal file
@ -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>
|
Reference in New Issue
Block a user