ERROR_CONTROL_C_EXIT - 572 (0x23C)

{Application Exit by CTRL+C} The application terminated as a result of a CTRL+C.

Updated: Feb 21, 2026

Technical Meaning

The ERROR_CONTROL_C_EXIT error code indicates that an application has terminated due to a user-generated interrupt signal, specifically the CTRL+C key press. This is a common mechanism for gracefully shutting down applications in response to user input.

Error Details

The numeric value of this error is 572 (0x23C) and it is associated with the application's handling of the SIGINT signal, which corresponds to the CTRL+C key press. This signal is often used by developers to allow users to interrupt the execution of a program.

Usage Context

This error code is typically encountered when an application is designed to respond to user input for graceful termination. When a user presses CTRL+C, the operating system sends a SIGINT signal to the application, which can be caught and handled by the application's signal handler. If the application does not handle this signal properly or if it fails to terminate cleanly, this error code may be returned.

Developer Interpretation

When an application encounters ERROR_CONTROL_C_EXIT, it should interpret this as a request from the user to terminate the program. The developer must ensure that their application can gracefully handle such signals and perform necessary cleanup operations before exiting. This includes saving any unsaved data, closing open files or connections, and releasing system resources.

Related Errors

  • ERROR_OPERATION_ABORTED (0x800703EC): May be returned if the operation was aborted by a signal other than CTRL+C, such as SIGINT on Unix-like systems.
  • ERROR_INVALID_PARAMETER (0x80070057): If the application attempts to handle the CTRL+C signal incorrectly, this error might be returned instead of ERROR_CONTROL_C_EXIT.

FAQ

Q: What does ERROR_CONTROL_C_EXIT mean?

A: It indicates that an application has terminated due to a user-generated interrupt signal, specifically CTRL+C.

Q: How can I handle this error in my application?

A: Ensure your application's signal handler correctly processes the SIGINT signal and performs necessary cleanup before exiting.

Summary

The ERROR_CONTROL_C_EXIT error code is a specific technical indicator that an application has terminated due to user input. Developers should ensure their applications handle such signals gracefully to maintain a good user experience and proper resource management.