| D O S _ W A I T P A C K E T ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - DOS_#?
----------------------------------------------------------------------------
NAME
dos_waitpacket() - Awaits DOS packet on a given msg.
port.
SYNOPSIS
dp = dos_waitpacket(mp, termsig);
struct DosPacket *dos_waitpacket(
struct MsgPort *, ULONG);
FUNCTION
This function waits for a DosPacket to be delivered to
requested MsgPort.
INPUTS
mp - MsgPort at which packets will arrive.
termsig - Additional termination signal if 'Wait()' is
to be interrupted(can be 0 if no need to).
RETURNS
Returns pointer to DosPacket or NULL if 'termsig' was
received, thus this function can be in charge of the
dispatcher loop.
BASES
SysBase
NOTES
This func. can be called safely from under the task!
SEE ALSO
dos_replypacket()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |