Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 924 Bytes

CreateIORequest.md

File metadata and controls

35 lines (22 loc) · 924 Bytes

NAME

CreateIORequest() -- create an IORequest structure (V36)

SYNOPSIS

    ioReq = CreateIORequest( ioReplyPort, size );
                             A0           D0

    struct IORequest *CreateIORequest(struct MsgPort *, ULONG);

Links: IORequest MsgPort

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

DeleteIORequest, CreateMsgPort, amiga.lib/CreateExtIO