Home
last modified time | relevance | path

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

/DragonOS-0.1.5/user/apps/shell/
Dcmd.c385 char *full_path = NULL; in shell_cmd_mkdir() local
388 full_path = argv[1]; in shell_cmd_mkdir()
391 full_path = get_target_filepath(argv[1], &result_path_len); in shell_cmd_mkdir()
395 int retval = mkdir(full_path, 0); in shell_cmd_mkdir()
400 free(full_path); in shell_cmd_mkdir()
413 char *full_path = NULL; in shell_cmd_rmdir() local
418 full_path = argv[1]; in shell_cmd_rmdir()
421 full_path = get_target_filepath(argv[1], &result_path_len); in shell_cmd_rmdir()
424 int retval = rmdir(full_path); in shell_cmd_rmdir()
426 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rmdir()
[all …]