Searched refs:cwd_len (Results 1 – 1 of 1) sorted by relevance
56 int cwd_len = strlen(shell_current_path); in get_target_filepath() local59 *result_path_len = cwd_len + strlen(filename); in get_target_filepath()65 strncpy(file_path, shell_current_path, cwd_len); in get_target_filepath()68 if (cwd_len > 1) in get_target_filepath()69 file_path[cwd_len] = '/'; in get_target_filepath()