Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.03 KB

amsg-exit.md

File metadata and controls

36 lines (27 loc) · 1.03 KB
descriptiontitlems.dateapi_nameapi_locationapi_typetopic_typef1_keywordshelpviewer_keywordsms.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

RoutineRequired header
_amsg_exitinternal.h
close