emuTerminate (Function) |
Top Previous Next |
This function requests that the RTCU Emulator terminates. If successful, it does not return. It is useful when e.g. using it for running automated tests, where the RTCU Emulator can then be terminated when the test is completed or has failed. When called on physical devices, it just returns 0 without doing anything.
Input: exitCode : SINT The exit code for the RTCU Emulator process to return when terminating. Note that the RTCU Emulator may decide to return 0 or -1 when terminating by itself.
Returns: INT
Declaration: FUNCTION emuTerminate : INT;
Example: INCLUDE rtcu.inc |