#include <corecrt_internal.h>
#include <signal.h>
#include <stdlib.h>
Go to the source code of this file.
◆ _INIT_ABORT_BEHAVIOR
◆ _set_abort_behavior()
Specifies the behavior of the abort() function.
- Parameters
-
| flags | - Value of the new flags. |
| mask | - Mask that specifies which flags to update. |
- Returns
- The old flags value.
Definition at line 109 of file abort.cpp.
110{
113 return oldflags;
114}
unsigned int __abort_behavior
Referenced by _assert().
◆ abort()
Aborts the program.
- Note
- The function does not return.
- Todo:
- unimplemented
Definition at line 46 of file abort.cpp.
47{
48 #ifdef _DEBUG
50 {
52 }
53 #endif
54
55
56
57
58
59
60
63 {
65 }
66
67
68
69
70
72 {
73 #if defined _M_ARM || defined _M_ARM64 || defined _M_ARM64EC || defined _UCRT_ENCLAVE_BUILD
75 #else
78
80 #endif
81 }
82
83
84
85
86
87
88
90}
void(__cdecl * __crt_signal_handler_t)(int)
__crt_signal_handler_t __cdecl __acrt_get_sigabrt_handler(void)
void __cdecl __acrt_call_reportfault(int nDbgHookCode, DWORD dwExceptionCode, DWORD dwExceptionFlags)
void __cdecl __acrt_report_runtime_error(_In_z_ wchar_t const *message)
BOOL WINAPI IsProcessorFeaturePresent(IN DWORD ProcessorFeature)
void CDECL _exit(int exitcode)
#define _CALL_REPORTFAULT
#define _CRT_DEBUGGER_ABORT
__fastfail(FAST_FAIL_INVALID_ARG)
#define STATUS_FATAL_APP_EXIT
#define EXCEPTION_NONCONTINUABLE
#define PF_FASTFAIL_AVAILABLE
#define FAST_FAIL_FATAL_APP_EXIT
◆ __abort_behavior