* opts for i/o function
* ioctl interface