Added examples for ioctl functionality. Currently linux dependent.