1 // 2 // __std_terminate.c 3 // 4 // Copyright (c) 2024 Timo Kreuzer 5 // 6 // Implementation of __std_terminate. 7 // 8 // SPDX-License-Identifier: MIT 9 // 10 11 #include <process.h> 12 13 __declspec(noreturn) void __cdecl terminate(); 14 15 __declspec(noreturn) 16 void __std_terminate(void) 17 { 18 terminate(); 19 } 20