Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#amunits]

AbortPkt

Aborts an asynchronous packet, if possible.

Declaration

Source position: amigados.pas line 1579

procedure AbortPkt(

  port: pMsgPort;

  pkt: pDosPacket

);

Arguments

port

  

The message port to where the packet was sent.

pkt

  

The packet to be aborted.

Description

This function does currently nothing. You can use WaitForChar() to poll for characters from an interactive handler.

The planned purpose of this function is: Tries to abort an asynchronous packet. There is no guarantee that this succeeds. You must wait with WaitPkt() for the packet to return before you can reuse or deallocate it.


Documentation generated on: 2021-07-30