Figured out how to use ioctl