Docs » Autodocs » dos.library » AbortPkt
AbortPkt -- Aborts an asynchronous packet, if possible. (V36)
AbortPkt(port, pkt) D1 D2 void AbortPkt(struct MsgPort *, struct DosPacket *)
This attempts to abort a packet sent earlier with SendPkt to a handler. There is no guarantee that any given handler will allow a packet to be aborted, or if it is aborted whether function requested completed first or completely. After calling AbortPkt(), you must wait for the packet to return before reusing it or deallocating it.
port - port the packet was sent to pkt - the packet you wish aborted
As of V37, this function does nothing.
SendPkt(), DoPkt(), WaitPkt()
|