Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 906 Bytes

File metadata and controls

24 lines (21 loc) · 906 Bytes
title abort Function | Microsoft Docs
ms.custom
ms.date 12/01/2017
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic language-reference
dev_langs
C++
helpviewer_keywords
abort function
ms.assetid 3352bcc4-1a8a-4e1f-8dcc-fe30f6b50f2d
caps.latest.revision 7
author mikeblome
ms.author mblome
manager ghogen

abort Function

The abort function, also declared in the standard include file STDLIB.H, terminates a C++ program. The difference between exit and abort is that exit allows the C++ run-time termination processing to take place (global object destructors will be called), whereas abort terminates the program immediately. For more information, see abort in the Run-Time Library Reference.

See also

Program Termination