XINU
shell
xsh_exit.c
Go to the documentation of this file.
1
9
#include <
xinu.h
>
10
17
shellcmd
xsh_exit
(
int
nargs,
char
*args[])
18
{
19
return
SHELL_EXIT
;
20
}
xsh_exit
shellcmd xsh_exit(int nargs, char *args[])
exitコマンドとして、シェル終了を引き起こす終了コードを返す。
Definition:
xsh_exit.c:17
xinu.h
全てのシステムヘッダファイルをインクルードする。
SHELL_EXIT
#define SHELL_EXIT
XINUシェルを終了させる返り値
Definition:
shell.h:88
shellcmd
int32 shellcmd
シェルコール関数 返り値の型
Definition:
kernel.h:51
Generated by
1.8.13