The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Emits a specified runtime error message and then exits your application with error code 255.

void _amsg_exit (
   int rterrnum


The identification number of a system-defined runtime error message.

This function emits the runtime error message to stderr for console applications, or displays the message in a message box for Windows applications. In debug mode, you can choose to invoke the debugger before exiting.


Required header



Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft