_IOC 61 include/sys/ioctl.h #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) _IOC 62 include/sys/ioctl.h #define _IOR(g,n,t) _IOC(IOC_OUT, (g), (n), sizeof(t)) _IOC 63 include/sys/ioctl.h #define _IOW(g,n,t) _IOC(IOC_IN, (g), (n), sizeof(t)) _IOC 65 include/sys/ioctl.h #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) _IOC 67 include/sys/ioctl.h #define _IORN(g,n,t) _IOC((IOC_OVAL|IOC_OUT), (g), (n), sizeof(t)) _IOC 68 include/sys/ioctl.h #define _IOWN(g,n,t) _IOC((IOC_IVAL|IOC_IN), (g), (n), sizeof(t))