aboutsummaryrefslogtreecommitdiff
path: root/src/command/exit.cc
diff options
context:
space:
mode:
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);
+}
+
+}