home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
122.lha
/
Arp_v1.1
/
Pro_Docs
/
Old_Pages
/
ArpExit
< prev
next >
Wrap
Text File
|
1986-11-20
|
937b
|
67 lines
ArpExit(31.0) ARP Programmers Manual ArpExit(31.0)
NAME
ArpExit - exit immediately, closing arp, freeing resources.
SYNOPSIS
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 and Fault to the caller.
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. If
ReturnCode is ZERO, this value is ignored.
RESULT
No results, in fact, no return.
BUGS
None known.
AUTHOR
SDB
Page 1 (printed 2/22/88)