mirror of
https://github.com/byteworksinc/ORCALib.git
synced 2025-02-07 04:30:31 +00:00
Add _Exit() function from C99.
This exits the programs without calling atexit functions and possibly without doing other clean-up operations. In ORCA/C, it is functionally identical to _exit().
This commit is contained in:
parent
24ec2ae9bc
commit
efab82784d
@ -301,6 +301,9 @@ div_t ds 4
|
||||
* void _exit(status)
|
||||
* int status;
|
||||
*
|
||||
* void _Exit(status)
|
||||
* int status;
|
||||
*
|
||||
* Stop the program. Exit cleans up, _exit does not. Status
|
||||
* is the status returned to the shell.
|
||||
*
|
||||
@ -313,6 +316,7 @@ exit start
|
||||
|
||||
jsr ~EXIT
|
||||
_exit entry
|
||||
_Exit entry
|
||||
lda 4,S
|
||||
jmp ~QUIT
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user