Home
last modified time | relevance | path

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

/DragonOS-0.1.5/user/apps/shell/
Dcmd.c197 int new_len = current_dir_len + dest_len - dest_offset; in shell_cmd_cd() local
199 if (new_len >= SHELL_CWD_MAX_SIZE - 1) in shell_cmd_cd()
206 char *new_path = (char *)malloc(new_len + 2); in shell_cmd_cd()
218 new_path[new_len + 1] = '\0'; in shell_cmd_cd()