[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        CreateIORequest() -- create an iorequest structure  (v36)

   SYNOPSIS
        ioReq = CreateIORequest( ioReplyPort, size );
         D0                       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
        deleteiorequest(), createmsgport(), amiga.lib/createextio()