Home
last modified time | relevance | path

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

/DragonOS-0.1.2/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
342 int shell_cmd_touch(int argc, char **argv) in shell_cmd_touch() argument
381 int shell_cmd_mkdir(int argc, char **argv) in shell_cmd_mkdir() argument
410 int shell_cmd_rmdir(int argc, char **argv) in shell_cmd_rmdir() argument
[all …]
Dcmd_help.c14 int shell_help(int argc, char **argv) in shell_help() argument
20 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);
Dcmd_test.c7 int shell_pipe_test(int argc, char **argv) in shell_pipe_test() argument
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()
/DragonOS-0.1.2/user/libs/libc/src/sysdeps/x86_64/elf/
Dstart.c7 void _start(int argc, char **argv) in _start() argument
10 int retval = main(argc, argv); in _start()
/DragonOS-0.1.2/kernel/src/process/
Dprocess.c412 int argc = 0; in do_execve() local
418 for (argc = 0; argc < 8 && argv[argc] != NULL; ++argc) in do_execve()
421 if (*argv[argc] == NULL) in do_execve()
425 int argv_len = strnlen_user(argv[argc], 1023) + 1; in do_execve()
426 strncpy((char *)(str_addr - argv_len), argv[argc], argv_len - 1); in do_execve()
428 dst_argv[argc] = (char *)str_addr; in do_execve()
439 regs->rdi = argc; in do_execve()
/DragonOS-0.1.2/kernel/src/debug/
Dkallsyms.c195 int main(int argc, char **argv) in main() argument