code: def IOWR(type, nr, size):
      
      return IOC(IOC_READ | IOC_WRITE, type, nr, IOC_TYPECHECK(size))
docs: An ioctl with both read an writes parameters.
  
      size (ctype type or instance)
          Type/structure of the argument passed to ioctl's "arg" argument.