Exit_Exittask terminationexitint status_exitint statusAssembler Equivalent
os9 F$EXIT
Description
Exit is the normal means of terminating a task. Exit does any
cleaning up operations required before terminating, such as
flushing out any file buffers (see Standard i/o), but _exit
does not.
A task finishing normally, that is returning from "main()",
is equivalent to a call - "exit(0)".
The status passed to exit is available to the parent task if it
is executing a "wait".
See Also
wait()