LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

exit

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

Was this information helpful?

Previous

eof

Next

exp

Previous

eof

Next

exp

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit