(C) 1998 AROS - The Amiga Research OS


NAME
#include <dos/dosextens.h>
#include <proto/dos.h>

struct MsgPort * GetConsoleTask ()

LOCATION
In DOSBase at offset 85

SYNOPSIS
/* void */

FUNCTION
Return the console handler for the current Process. The return type depends upon whether AROS is running binary compatible.

INPUTS
None.

RESULT
The address of the console handler, or NULL if none is set.

EXAMPLE

SEE ALSO
SetConsoleTask()

NOTES
You will only get NULL from this call if you call it on a Task, or when the Process is not attached to a console.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
02.01.1998 srittau
Fixed typos and warnings
01.01.1998 iaint
Some simple DOS functions
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column