NetHack 1.4f/ioctl.c