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

AbortPkt

Aborts an asynchronous packet, if possible.

Declaration

Source position: amigados.pas line 2243

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