Searched refs:current_dir_len (Results 1 – 1 of 1) sorted by relevance
124 int current_dir_len = strlen(shell_current_path); in shell_cmd_cd() local143 int index = current_dir_len - 1; in shell_cmd_cd()197 int new_len = current_dir_len + dest_len - dest_offset; in shell_cmd_cd()208 strncpy(new_path, shell_current_path, current_dir_len); in shell_cmd_cd()210 if (current_dir_len > 1) in shell_cmd_cd()211 new_path[current_dir_len] = '/'; in shell_cmd_cd()