2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Free a structure created by CreateExtIO()
9 #include <proto/exec.h>
11 /*****************************************************************************
15 #include <proto/alib.h>
20 struct IORequest
* ioreq
)
23 Free a structure created by CreateExtIO().
26 ioreq - The returnvalue of CreateExtIO(). Must be
39 CreateStdIO(), CreateExt()
45 ******************************************************************************/
48 /* Erase some fields to enforce crashes */
49 ioreq
->io_Message
.mn_Node
.ln_Type
= -1L;
51 ioreq
->io_Device
= (struct Device
*)-1L;
52 ioreq
->io_Unit
= (struct Unit
*)-1L;
55 FreeMem(ioreq
,ioreq
->io_Message
.mn_Length
);