shell: return exit codes
This commit is contained in:
parent
a7504ad99c
commit
2942340b21
12 changed files with 169 additions and 118 deletions
|
@ -1,14 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
void shell_mount(struct console *con, size_t argc, const char **argv);
|
||||
void shell_unmount(struct console *con, size_t argc, const char **argv);
|
||||
void shell_format(struct console *con, size_t argc, const char **argv);
|
||||
void shell_mkdir(struct console *con, size_t argc, const char **argv);
|
||||
void shell_rmdir(struct console *con, size_t argc, const char **argv);
|
||||
void shell_stat(struct console *con, size_t argc, const char **argv);
|
||||
void shell_cat(struct console *con, size_t argc, const char **argv);
|
||||
void shell_write(struct console *con, size_t argc, const char **argv);
|
||||
void shell_append(struct console *con, size_t argc, const char **argv);
|
||||
void shell_mv(struct console *con, size_t argc, const char **argv);
|
||||
void shell_rm(struct console *con, size_t argc, const char **argv);
|
||||
void shell_ls(struct console *con, size_t argc, const char **argv);
|
||||
int shell_mount(struct console *con, size_t argc, const char **argv);
|
||||
int shell_unmount(struct console *con, size_t argc, const char **argv);
|
||||
int shell_format(struct console *con, size_t argc, const char **argv);
|
||||
int shell_mkdir(struct console *con, size_t argc, const char **argv);
|
||||
int shell_rmdir(struct console *con, size_t argc, const char **argv);
|
||||
int shell_stat(struct console *con, size_t argc, const char **argv);
|
||||
int shell_cat(struct console *con, size_t argc, const char **argv);
|
||||
int shell_write(struct console *con, size_t argc, const char **argv);
|
||||
int shell_append(struct console *con, size_t argc, const char **argv);
|
||||
int shell_mv(struct console *con, size_t argc, const char **argv);
|
||||
int shell_rm(struct console *con, size_t argc, const char **argv);
|
||||
int shell_ls(struct console *con, size_t argc, const char **argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue