⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 command.h

📁 凌阳SPCE3200 系统开发板随机自带源程序。共安排了32个子目录
💻 H
字号:
/* Maximum number of arguments in a command line:*/
#define CMDLINESIZE 280                 
#define ARGCNT      8                  
#define CMD_SUCCESS         0
#define CMD_FAILURE         -1
#define CMD_PARAM_ERROR     -2
#define CMD_LINE_ERROR      -3
#define CMD_ULVL_DENIED     -4
#define CMD_NOT_FOUND       -5
#define CMD_PREFILL         -6

extern CODE struct 	monCommand cmdlist[];
#define CTLC		0x03    /* control-c */
char sio_getc(void);

/* Command table structure used by the monitor:
 */
struct  monCommand {
    char    *name;          /* Name of command seen by user. */
    int     (*func)(int, char**);      /* Function called when command is invoked. */
    char  CODE * CODE *helptxt;      /* Help text (see notes below). */
    struct  cliextra *clix; /* Pointer to "extras" that may or may not be */ 
                            /* used by a specific command. */
};
void CommandLoop(void);
extern char CODE * CODE ErrorInfo[];
int docommand(char *cmdline);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -