664 pid_t tid = syscall(__NR_gettid);
666 if (shellCB == NULL) {
670 (
void)memset_s(shellCB->
shellBuf, SHOW_MAX_LEN, 0, SHOW_MAX_LEN);
674 printf(
"another shell is already running!\n");
void(* OutputFunc)(const char *fmt,...)
static int ShellKernelReg(unsigned int shellHandle)
void ShellCmdLineParse(char c, OutputFunc outputFunc, ShellCB *shellCB)
char shellBuf[SHOW_MAX_LEN]
接受shell命令 buf大小
ARG_NUM_3 ARG_NUM_1 ARG_NUM_2 ARG_NUM_2 ARG_NUM_3 ARG_NUM_1 ARG_NUM_4 ARG_NUM_2 ARG_NUM_2 ARG_NUM_5 ARG_NUM_2 void