exit
- Updated2023-02-21
- 1 minute(s) read
exit
void exit (int exitStatus);
Purpose
Terminates the program normally. All functions registered by atexit are called, in the reverse order of their registration.
RT You can initiate a reboot of an RT target by calling exit.
![]() |
Note LabWindows/CVI leaves open streams, keeps data buffers unflushed, and leaves temporary files intact so that you can continue execution in the Interactive Execution window. When you close the library, LabWindows/CVI handles all of these areas. |
Parameters
Input | ||||
Name | Type | Description | ||
exitStatus | int |
Contains an exit status value that indicates what value to return to the host environment.
|
Return Value
None.
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later