Home
last modified time | relevance | path

Searched refs:cwd_len (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.2/user/apps/shell/
Dcmd.c45 int cwd_len = strlen(shell_current_path); in get_target_filepath() local
48 *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()