NetHack 2.3e/ioctl.c