Merge remote-tracking branch 'nsz/review'

This commit is contained in:
Rich Felker 2013-05-26 18:22:12 -04:00
commit d926565355
9 changed files with 30 additions and 48 deletions

View file

@ -3,10 +3,10 @@
#define _IOC_READ 2U
#define _IOC_WRITE 4U
#define _IO(a,b) _IOC(1U,(a),(b),0)
#define _IOW(a,b,c) _IOC(4U,(a),(b),sizeof(c))
#define _IOR(a,b,c) _IOC(2U,(a),(b),sizeof(c))
#define _IOWR(a,b,c) _IOC(6U,(a),(b),sizeof(c))
#define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0)
#define _IOW(a,b,c) _IOC(_IOC_WRITE,(a),(b),sizeof(c))
#define _IOR(a,b,c) _IOC(_IOC_READ,(a),(b),sizeof(c))
#define _IOWR(a,b,c) _IOC(_IOC_READ|_IOC_WRITE,(a),(b),sizeof(c))
#define TCGETA 0x5401
#define TCSETA 0x5402