aboutsummaryrefslogtreecommitdiff
path: root/src/command/exit.cc
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-01 00:48:48 +0000
committer_ov4 <ov4@ov4.org>2026-09-01 00:48:48 +0000
commitb550c6bb3a0344ba33a00fce126ca571228e3651 (patch)
treed3552413822c08e24ff82e0c7420e7573ef50249 /src/command/exit.cc
parent5e94ca9f060d2952ef08913234c500a815f734bf (diff)
refactor
Diffstat (limited to 'src/command/exit.cc')
-rw-r--r--src/command/exit.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/command/exit.cc b/src/command/exit.cc
new file mode 100644
index 0000000..5d817a6
--- /dev/null
+++ b/src/command/exit.cc
@@ -0,0 +1,11 @@
+#include "command/builtin.h"
+
+namespace ov4::command
+{
+
+void exit()
+{
+ std::exit(0);
+}
+
+}