2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include "dos_intern.h"
9 #include <proto/exec.h>
11 /*****************************************************************************
14 #include <dos/dosextens.h>
15 #include <proto/dos.h>
17 AROS_LH2(void, AbortPkt
,
20 AROS_LHA(struct MsgPort
*, port
, D1
),
21 AROS_LHA(struct DosPacket
*, pkt
, D2
),
24 struct DosLibrary
*, DOSBase
, 44, Dos
)
42 *****************************************************************************/
45 AROS_LIBBASE_EXT_DECL(struct DosLibrary
*,DOSBase
)
47 if (NULL
!= (struct IORequest
*)pkt
->dp_Arg7
) {
48 if (0 == AbortIO((struct IORequest
*)pkt
->dp_Arg7
))
50 #warning Still have to decide where to finally free the IORequest structure if this goes well
51 FreeMem((APTR
)pkt
->dp_Arg7
, sizeof(struct IOFileSys
));