_amsg_exit

发出指定的运行时错误消息,然后退出应用程序,错误代码为 255。

语法

void _amsg_exit ( int rterrnum );

参数

rterrnum
系统定义的运行时错误消息的标识号。

备注

此函数会向控制台应用程序的 stderr 发出运行时错误消息,或在 Windows 应用程序的消息框中显示该消息。 在调试模式下,您可以选择在退出之前调用调试器。

要求

例程 必需的标头
_amsg_exit internal.h