toy example of ioctl