RT-Thread finsh源码分析: finsh_error.h
来源:互联网 发布:天津亿信通网络 编辑:程序博客网 时间:2024/05/29 04:58
/* * error number for finsh shell. * * COPYRIGHT (C) 2013, Shanghai Real-Thread Technology Co., Ltd * * This file is part of RT-Thread (http://www.rt-thread.org) * Maintainer: bernard.xiong <bernard.xiong at gmail.com> * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * Change Logs: * Date Author Notes * 2010-03-22 Bernard first version */#ifndef __FINSH_ERROR_H__#define __FINSH_ERROR_H__#include <finsh.h> //此处引用了错误码类型的宏定义int finsh_error_init(void); //错误码 global_errno = FINSH_ERROR_OK;/* get error number */u_char finsh_errno(void); //获取错误码global_errnoint finsh_error_set(u_char type); //设置错误码类型,在finsh.h中定义const char* finsh_error_string(u_char type); //通过错误码类型找到对应字符串#endif
0 0
- RT-Thread finsh源码分析: finsh_error.h
- RT-Thread finsh源码分析: finsh_error.c
- RT-Thread finsh源码分析: finsh_var.h
- RT-Thread finsh源码分析: finsh_heap.h
- RT-Thread finsh源码分析: finsh_node.h
- RT-Thread finsh源码分析: finsh_ops.h
- RT-Thread finsh源码分析: finsh_token.h
- RT-Thread finsh源码分析: finsh_var.c
- RT-Thread finsh源码分析: finsh_node.c
- RT-Thread finsh源码分析: finsh_ops.c
- RT-Thread finsh源码分析: finsh_token.c
- RT-thread finsh组件工作流程
- rt-thread线程源码分析
- rt-thread线程源码分析
- rt-thread的定时器管理源码分析
- rt-thread线程调度器源码分析
- rt-thread的空闲线程源码分析
- RT-Thread 源码分析 总目录
- iOS 任意圆角button,左圆右直,左直右圆,上圆下直,上直下圆
- Linux用户、用户组
- Android Api Demos登顶之路(三十六)Fragment-->ContextMenu
- 8.18 volley使用https
- 常用DOS命令-telnet
- RT-Thread finsh源码分析: finsh_error.h
- 安卓基础:Activity基础、五大布局
- 使用apache配置进行简单的HTTP Basic Authentication
- Linux压缩包的制作与解压
- 2015 7 1 java核心技术 卷1 第6章 接口与内部类
- 【LeetCode】125_Valid Palindrome
- BZOJ 1698 [Usaco2007 Feb]Lilypad Pond 荷叶池塘 BFS+最短路
- 的士
- 数据挖掘之关联分析二(频繁项集的产生)