From d48cbe75ef29a9c67c9d176bf58e56ea6448fb9e Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 21 Oct 2024 20:23:36 +0200 Subject: IMP: Major refactor of header and source files extensions. Signed-off-by: Amlal El Mahrouss --- dev/crt/exit.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dev/crt/exit.h (limited to 'dev/crt/exit.h') diff --git a/dev/crt/exit.h b/dev/crt/exit.h new file mode 100644 index 00000000..69b046c4 --- /dev/null +++ b/dev/crt/exit.h @@ -0,0 +1,18 @@ +/* ------------------------------------------- + + Copyright ZKA Web Services Co. + +------------------------------------------- */ + +#pragma once + +extern "C" int exit(int code); + +/// @brief Standard C++ namespace +namespace std +{ + inline int exit(int code) + { + return exit(code); + } +} // namespace std -- cgit v1.2.3