implement a waiter ioctl