#include #include void strinv(char *str) { u32 s_str = strlen(str); int iterations = (int)s_str / 2; for (int i = 0; i < iterations; i++) { char aux = str[i]; str[i] = str[(s_str - i) - 1]; str[(s_str - i) - 1] = aux; } }