summaryrefslogtreecommitdiffhomepage
path: root/dev/LibC++/exit.h
blob: 0878e4358ac66e7d8a7c233c18d869f4c3c40766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* -------------------------------------------

	Copyright ZKA Web Services Co.

------------------------------------------- */

#pragma once

/// @brief CRT exit, with exit code (!!! exits all threads. !!!)
/// @param code
/// @return
extern "C" int exit(int code);

/// @brief Standard C++ namespace
namespace std
{
	inline int exit(int code)
	{
		exit(code);
	}
} // namespace std