diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/crt32/heap/hpabort.c | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/crt32/heap/hpabort.c')
-rw-r--r-- | private/crt32/heap/hpabort.c | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/private/crt32/heap/hpabort.c b/private/crt32/heap/hpabort.c new file mode 100644 index 000000000..9227a5b4b --- /dev/null +++ b/private/crt32/heap/hpabort.c @@ -0,0 +1,47 @@ +/*** +* hpabort.c - Abort process due to fatal heap error +* +* Copyright (c) 1988-1991, Microsoft Corporation. All rights reserved. +* +*Purpose: +* +*Revision History: +* 11-13-89 JCR Module created +* 12-18-89 GJF #include-ed heap.h, also added explicit _cdecl to +* function definition. +* 03-11-90 GJF Replaced _cdecl with _CALLTYPE1 and added #include +* <cruntime.h>. +* 10-03-90 GJF New-style function declarator. +* 10-11-90 GJF Changed interface to _amsg_exit(). +* +*******************************************************************************/ + +#include <cruntime.h> +#include <heap.h> +#include <internal.h> +#include <rterr.h> + + +/*** +* _heap_abort() - Abort process due to fatal heap error +* +*Purpose: +* Terminate the process and output a heap error message +* +*Entry: +* Void +* +*Exit: +* Never returns +* +*Exceptions: +* +*******************************************************************************/ + +void _CALLTYPE1 _heap_abort ( + void + ) +{ + _amsg_exit(_RT_HEAP); /* heap error */ + /*** PROCESS TERMINATED ***/ +} |