NAME
CreateIORequest() -- create an IORequest structure (V36)
SYNOPSIS
ioReq = CreateIORequest( ioReplyPort, size );
A0 D0
struct IORequest *CreateIORequest(struct MsgPort *, ULONG);FUNCTION
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".
INPUTS
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.
RESULT ioReq - A pointer to the new IORequest block, or NULL.
SEE ALSO