(C) 1998 AROS - The Amiga Research OS


NAME

void ArpExit (ReturnCode , fault , (Fault , , )

LOCATION
In ArpBase at offset 63

SYNOPSIS
ULONG ReturnCode
ULONG fault
ArpExit( ReturnCode (Fault
d0 d2

FUNCTION
This function will cause a currently running program to terminate. It will first CloseLibrary(ArpBase), which will cause all tracked resources to be freed. It will then force DOS to unload your program, returning the error code to the CLI.

INPUTS
ReturnCode
- The integer value you wish to return. By convention, 0 means a normal exit.
Fault
- If ReturnCode is non-zero, this value is the ADOS error code which is used with the "Why" program, in pr_Result2. ( If ReturnCode is ZERO, pr_Result2 will be set to 0).
RESULT
No results, in fact, no return.

EXAMPLE
SEE ALSO

NOTES

BUGS
None known.

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
12.09.1998 hkiel
converted TODO/FIXME comments to #warnings
11.08.1998 srittau
!!! <-> FIXME
28.03.1998 bergers
Some new functions.