RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
msh.h
浏览该文件的文档.
1/*
2 * Copyright (c) 2006-2021, RT-Thread Development Team
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Change Logs:
7 * Date Author Notes
8 * 2013-03-30 Bernard the first verion for FinSH
9 */
10
11#ifndef __M_SHELL__
12#define __M_SHELL__
13
14#include <rtthread.h>
15
16int msh_exec(char *cmd, rt_size_t length);
17void msh_auto_complete(char *prefix);
18
19int msh_exec_module(const char *cmd_line, int size);
20int msh_exec_script(const char *cmd_line, int size);
21
22#ifdef FINSH_USING_OPTION_COMPLETION
23void msh_opt_auto_complete(char *prefix);
24
25#endif /* FINSH_USING_OPTION_COMPLETION */
26#endif
int msh_exec(char *cmd, rt_size_t length)
定义 msh.c:540
void msh_auto_complete(char *prefix)
定义 msh.c:775
int msh_exec_script(const char *cmd_line, int size)
int msh_exec_module(const char *cmd_line, int size)
rt_ubase_t rt_size_t