Exit is a database function. If it is set to 0, it Exits normally. If it is set to not 0, it exits abnormally.
If it is a sub-process, you can use GetExitCodeProcess to obtain the exit code and then process it.
Exit () causes the program to terminate normally immediately. If the status value is 0, the program Exits normally. If the value is not zero, an execution error occurs. Call exit () to clear and close all
Open File, write any buffer output, and call all programs registered with atexit () to terminate the function.
Related functions:
_ Exit () When terminating a program, no files are closed, no buffers are cleared, and no termination function is called.
The abort () program stops running, does not clear the file, and returns to the call process. It is generally used to prevent the program from getting out of control,
However, in an object-oriented environment, because exit () and abort () do not destroy objects, do not use abort () and exit () in the object-oriented environment ().