Admin Production ni-theme
Current Publication

exit

LabWindows/CVI

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 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.
Note Note  Due to the way that this function is implemented, the exit status value entered into this parameter is ignored.

Return Value

None.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later