Searched refs:cwd_len (Results 1 – 1 of 1) sorted by relevance
45 int cwd_len = strlen(shell_current_path); in get_target_filepath() local48 *result_path_len = cwd_len + strlen(filename); in get_target_filepath()54 strncpy(file_path, shell_current_path, cwd_len); in get_target_filepath()57 if (cwd_len > 1) in get_target_filepath()58 file_path[cwd_len] = '/'; in get_target_filepath()