2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
5 Desc: Cancel an asynchronous packet.
9 #include <proto/exec.h>
11 #include "dos_intern.h"
13 /*****************************************************************************
16 #include <dos/dosextens.h>
17 #include <proto/dos.h>
19 AROS_LH2(void, AbortPkt
,
22 AROS_LHA(struct MsgPort
*, port
, D1
),
23 AROS_LHA(struct DosPacket
*, pkt
, D2
),
26 struct DosLibrary
*, DOSBase
, 44, Dos
)
29 This function currently does nothing. You can use WaitForChar()
30 to poll for characters from an interactive handler.
32 The planned purpose of this function is:
33 Tries to abort an asynchronous packet. There is no guarantee
34 that this succeeds. You must wait with WaitPkt() for the packet
35 to return before you can reuse or deallocate it.
38 port - The message port to where the packet was sent.
39 pkt - The packet to be aborted.
50 SendPkt(), WaitForChar(), WaitPkt()
54 *****************************************************************************/
58 /* TODO: implement this for real packets (is it possible at all) ? */