(C) 1998 AROS - The Amiga Research OS


NAME

struct Message * WaitPort (port)

LOCATION
In SysBase at offset 64

SYNOPSIS
struct MsgPort * port

FUNCTION
Wait until a message arrives at the given port. If there is already a message in it this function returns immediately.

INPUTS
port
Pointer to messageport.

RESULT
Pointer to the first message that arrived at the port. The message is _not_ removed from the port. GetMsg() does this for you.

EXAMPLE

SEE ALSO
WaitPort(), GetMsg()

NOTES

BUGS

INTERNALS

HISTORY