Created
February 12, 2017 17:45
-
-
Save NunoLava1998/28c3243af9119d5191c2ea482b20fdb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (strcmp(echo_check_char, "echo ") == 0) { | |
size_t size = strlen(com) - strlen(echo_check_char); | |
char *value[size]; | |
*value = (char *)zero_string((const char*)value[size]); | |
for (size_t i = strlen(echo_check_char); i < strlen(com); i++) { | |
*value[i] = com[i]; | |
} | |
writes("\n", 0, 15); | |
writes((const char*)value, 0, 15); | |
writes("\n", 0, 15); | |
com = zero_string(com); | |
writes(">", 0, 15); | |
return com; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment