SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - DOS_#?
----------------------------------------------------------------------------
NAME
dos_getpacket() - Retrieves DOS packet from message
port.
SYNOPSIS
dp = dos_getpacket(mp);
struct DosPacket *dos_getpacket(struct MsgPort *);
FUNCTION
This function allows to retrieve one DosPacket from
MsgPort at a time. Message gets removed from MsgPort
on return.
INPUTS
mp - MsgPort at which packets are to arrive.
RETURNS
Returns pointer to DosPacket or NULL if no message
was delivered/on the list.
BASES
SysBase
NOTES
This func. does not check if MsgPort collects valid
DosPackets. It is upto you to confirm this.
Description of this function was missing in 1.0 rel.
SEE ALSO
dos_waitpacket()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
|