node ioctl wrapper