more uapi bits
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
#define __IO(group, num) __IOC(__IOC_VOID, (group), (num), 0)
|
||||
#define __IOR(group, num, type) __IOC(__IOC_OUT, (group), (num), sizeof(type))
|
||||
#define __IOW(group, num, type) __IOC(__IOC_IN, (group), (num), sizeof(type))
|
||||
#define __IOC_GROUP(req) (((req) >> 8) & 0xFF)
|
||||
#define __IOC_NUM(req) ((req) & 0xFF)
|
||||
#define __IOC_LEN(req) (((req) >> 16) & 0x3FFF)
|
||||
|
||||
#define __TCGETS 0x5401
|
||||
#define __TCSETS 0x5402
|
||||
|
||||
Reference in New Issue
Block a user