commands.c (339B)
1 #include "../include/commands.h" 2 #include "../include/strcmp.h" 3 #include <stdint.h> 4 5 const char *commands (const char *cmd) { 6 // return "yo"; 7 if (strcmp(cmd, "help") == 1) { 8 return "KakaOS v0.0.1 . List of commands: help (Displays this page), mystatus"; 9 } else return "Command not found."; 10 // strcmp(cmd,"help"); 11 }