uapi: Port all remaining bits
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#ifndef __ZINNIA_UAPI_TERMIOS_H
|
||||
#define __ZINNIA_UAPI_TERMIOS_H
|
||||
|
||||
#include <uapi/ioctls.h>
|
||||
#include <uapi/types.h>
|
||||
|
||||
#define __NCCS 32
|
||||
@@ -93,4 +94,31 @@ struct __winsize {
|
||||
unsigned short ws_ypixel;
|
||||
};
|
||||
|
||||
#define __TCGETS __IO('T', 0x01)
|
||||
#define __TCSETS __IO('T', 0x02)
|
||||
#define __TCSETSW __IO('T', 0x03)
|
||||
#define __TCSETSF __IO('T', 0x04)
|
||||
#define __TCFLSH __IO('T', 0x0B)
|
||||
#define __TIOCSCTTY __IO('T', 0x0E)
|
||||
#define __TIOCGPGRP __IO('T', 0x0F)
|
||||
#define __TIOCSPGRP __IO('T', 0x10)
|
||||
#define __TIOCGWINSZ __IO('T', 0x13)
|
||||
#define __TIOCSWINSZ __IO('T', 0x14)
|
||||
#define __TIOCCONS __IO('T', 0x1D)
|
||||
#define __TIOCPKT __IO('T', 0x20)
|
||||
#define __TIOCNOTTY __IO('T', 0x22)
|
||||
#define __TIOCGSID __IO('T', 0x29)
|
||||
#define __TIOCSIG __IO('T', 0x36)
|
||||
#define __TIOCGPKT __IO('T', 0x38)
|
||||
#define __TIOCGNAME __IO('T', 0x70)
|
||||
#define __TIOCGPTN __IOR('T', 0x30, int)
|
||||
#define __TIOCSPTLCK __IOW('T', 0x31, int)
|
||||
#define __TIOCGPTLCK 3
|
||||
|
||||
#define __TIOCPKT_DATA 0
|
||||
#define __TIOCPKT_FLUSHREAD 1
|
||||
#define __TIOCPKT_FLUSHWRITE 2
|
||||
#define __TIOCPKT_STOP 4
|
||||
#define __TIOCPKT_START 8
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user