Docs » Autodocs » exec.library » CreateIORequest
CreateIORequest() -- create an IORequest structure (V36)
ioReq = CreateIORequest( ioReplyPort, size ); A0 D0 struct IORequest *CreateIORequest(struct MsgPort *, ULONG);
Allocates memory for and initializes a new IO request block of a user-specified number of bytes. The number of bytes must be at least as large as a "struct Message".
ioReplyPort - Pointer to a port for replies (an initialized message port, as created by CreateMsgPort() ). If NULL, this function fails. size - the size of the IO request to be created.
ioReq - A pointer to the new IORequest block, or NULL.
DeleteIORequest(), CreateMsgPort(), amiga.lib/CreateExtIO()
|