Searched refs:current_dir_len (Results 1 – 1 of 1) sorted by relevance
135 int current_dir_len = strlen(shell_current_path); in shell_cmd_cd() local154 int index = current_dir_len - 1; in shell_cmd_cd()208 int new_len = current_dir_len + dest_len - dest_offset; in shell_cmd_cd()219 strncpy(new_path, shell_current_path, current_dir_len); in shell_cmd_cd()221 if (current_dir_len > 1) in shell_cmd_cd()222 new_path[current_dir_len] = '/'; in shell_cmd_cd()