blindly implemented exit system call

This commit is contained in:
2025-07-31 13:14:28 +03:00
parent b65dc62257
commit 7bc28c2331
5 changed files with 11 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ prompt:
if (strcmp(cmdline, "hello") == 0)
printf("Hellow :3\n");
else if (strcmp(cmdline, "exit") == 0)
exit();
else
printf("I don't know what is %s yet :(\n", cmdline);
}