Home
last modified time | relevance | path

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

/DragonOS-0.1.7/user/apps/shell/
Dcmd.h14 int (*func)(int argc, char **argv);
34 void shell_run_built_in_command(int index, int argc, char **argv);
43 int shell_cmd_cd(int argc, char **argv);
52 int shell_cmd_ls(int argc, char **argv);
61 int shell_cmd_pwd(int argc, char **argv);
70 int shell_cmd_cat(int argc, char **argv);
79 int shell_cmd_touch(int argc, char **argv);
88 int shell_cmd_rm(int argc, char **argv);
97 int shell_cmd_mkdir(int argc, char **argv);
106 int shell_cmd_rmdir(int argc, char **argv);
[all …]
Dcmd.c104 void shell_run_built_in_command(int index, int argc, char **argv) in shell_run_built_in_command() argument
110 shell_cmds[index].func(argc, argv); in shell_run_built_in_command()
121 int shell_cmd_cd(int argc, char **argv) in shell_cmd_cd() argument
125 if (argc < 2) in shell_cmd_cd()
244 int shell_cmd_ls(int argc, char **argv) in shell_cmd_ls() argument
289 int shell_cmd_pwd(int argc, char **argv) in shell_cmd_pwd() argument
305 int shell_cmd_cat(int argc, char **argv) in shell_cmd_cat() argument
353 int shell_cmd_touch(int argc, char **argv) in shell_cmd_touch() argument
392 int shell_cmd_mkdir(int argc, char **argv) in shell_cmd_mkdir() argument
421 int shell_cmd_rmdir(int argc, char **argv) in shell_cmd_rmdir() argument
[all …]
Dcmd_help.c15 int shell_help(int argc, char **argv) in shell_help() argument
21 if (argc > 1) in shell_help()
Dcmd_test.h4 int shell_pipe_test(int argc, char **argv);
Dcmd_help.h4 int shell_help(int argc, char **argv);
Dshell.c52 int argc = 0; in main_loop() local
80 int cmd_num = parse_command(input_buffer, &argc, &argv); in main_loop()
83 shell_run_built_in_command(cmd_num, argc, argv); in main_loop()
Dcmd_test.c10 int shell_pipe_test(int argc, char **argv) in shell_pipe_test() argument
/DragonOS-0.1.7/user/libs/libc/src/arch/x86_64/
Dcrt0.c9 void _start(int argc, char **argv) in _start() argument
14 int retval = main(argc, argv); in _start()
/DragonOS-0.1.7/kernel/src/process/
Dprocess.c466 int argc = 0; in do_execve() local
477 for (argc = 0; argc < 8 && argv[argc] != NULL; ++argc) in do_execve()
480 if (*argv[argc] == NULL) in do_execve()
484 int argv_len = strnlen_user(argv[argc], 1023) + 1; in do_execve()
485 strncpy((char *)(str_addr - argv_len), argv[argc], argv_len - 1); in do_execve()
487 dst_argv[argc] = (char *)str_addr; in do_execve()
501 if (argc == 0) in do_execve()
506 *ptr_stack = argc; in do_execve()
511 regs->rdi = argc; in do_execve()
/DragonOS-0.1.7/kernel/src/debug/
Dkallsyms.c195 int main(int argc, char **argv) in main() argument