Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.03 KB

File metadata and controls

36 lines (27 loc) · 1.03 KB
description Learn more about: _amsg_exit
title _amsg_exit
ms.date 11/04/2016
api_name
_amsg_exit
api_location
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api_type
DLLExport
topic_type
apiref
f1_keywords
_amsg_exit
helpviewer_keywords
_amsg_exit
ms.assetid 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