Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (23 loc) · 823 Bytes

File metadata and controls

36 lines (23 loc) · 823 Bytes

NAME

AbortPkt -- Aborts an asynchronous packet, if possible. (V36)

SYNOPSIS

    AbortPkt(port, pkt)
              D1    D2

    void AbortPkt(struct MsgPort *, struct DosPacket *)

Links: MsgPort DosPacket

FUNCTION

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.

INPUTS

port - port the packet was sent to pkt - the packet you wish aborted

BUGS As of V37, this function does nothing.

SEE ALSO

SendPkt, DoPkt, WaitPkt