Information
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.

_amsg_exit

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

void _amsg_exit (
   int rterrnum
   )

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.

Routine

Required header

_amsg_exit

internal.h

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