Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.06 KB

amsg-exit.md

File metadata and controls

36 lines (27 loc) · 1.06 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: _amsg_exit
_amsg_exit
11/04/2016
_amsg_exit
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
DLLExport
apiref
_amsg_exit
_amsg_exit
146d4faf-d763-43a4-b264-12711196456b

_amsg_exit

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

Syntax

void _amsg_exit ( int rterrnum );

Parameters

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

Remarks

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.

Requirements

Routine Required header
_amsg_exit internal.h