In Antwort auf:
rc = ioctl(fd, EMPEG_HIJACK_WAITMENU, NULL);



Thanks, that works. Although it is not very intuitive.