XINU
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 }
shellcmd xsh_exit(int nargs, char *args[])
exitコマンドとして、シェル終了を引き起こす終了コードを返す。
Definition: xsh_exit.c:17
全てのシステムヘッダファイルをインクルードする。
#define SHELL_EXIT
XINUシェルを終了させる返り値
Definition: shell.h:88
int32 shellcmd
シェルコール関数 返り値の型
Definition: kernel.h:51