Skip to content

Latest commit

 

History

History
74 lines (68 loc) · 1.51 KB

File metadata and controls

74 lines (68 loc) · 1.51 KB
title _amsg_exit | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
apiname
_amsg_exit
apilocation
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
apitype DLLExport
f1_keywords
_amsg_exit
dev_langs
C++
helpviewer_keywords
_amsg_exit
ms.assetid 146d4faf-d763-43a4-b264-12711196456b
caps.latest.revision 2
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

_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