MCPcopy Create free account
hub / github.com/NetHack/NetHack / IORequest

Class IORequest

sys/amiga/winfuncs.c:804–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802 ConsoleIO.io_Length = sizeof(struct Window);
803 ConsoleIO.io_Message.mn_ReplyPort = CreateMsgPort();
804 if (OpenDevice("console.device", -1L, (struct IORequest *) &ConsoleIO,
805 0L) != 0) {
806 Abort(AG_OpenDev | AO_ConsoleDev);
807 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected