RSM_IOCTL_CONSUMEEVENT
if (ioctl(_rsm_fd, RSM_IOCTL_CONSUMEEVENT, &msg) < 0) {
if (cmd == RSM_IOCTL_CONSUMEEVENT) {