(C) 1998 AROS - The Amiga Research OS


NAME

struct Message * GetMsg (port)

LOCATION
In SysBase at offset 62

SYNOPSIS
struct MsgPort * port

FUNCTION
Get a message from a given messageport. This function doesn't wait and returns NULL if the messageport is empty. Therefore it's generally a good idea to WaitPort() or Wait() on the given port first.

INPUTS
port
Pointer to messageport

RESULT
Pointer to message removed from the port.

EXAMPLE

SEE ALSO
WaitPort(), PutMsg()

NOTES

BUGS

INTERNALS

HISTORY