sys_pub.h

来自「abstract rtos」· C头文件 代码 · 共 73 行

H
73
字号
#ifdef __cplusplus#if __cplusplusextern "C"{#endif #endif #ifndef __INC_SSP_PUB_H__#define __INC_SSP_PUB_H__#if  CONFIG_OS_WINDOWS#ifdef USE_OS_IP_STACK#include <winsock2.h>#else#include <windows.h>#endif#elif CONFIG_OS_VXWORKS#include <vxworks.h>#include <taskLib.h>#include <msgqlib.h>#include <semaphore.h>#include <taskHookLib.h>#include <intLib.h>#include <dbgLib.h>#include <cacheLib.h>#include <errno.h>#include <stdarg.h>#include <loglib.h>#endif#include "glb_def.h"#if CONFIG_OS_WINDOWS#include "win32/sys_task.h"#include "win32/sys_mem.h"#include "win32/sys_sem.h"#include "emulation/sys_que.h"#elif CONFIG_OS_VXWORKS#include "vxworks/sys_task.h"#include "vxworks/sys_mem.h"#include "vxworks/sys_sem.h"#include "vxworks/sys_que.h"#endif#define __INC_ASOCK_H__ #define __INC_EDRV_PUB_H__enum sys_err_e{    SYS_OBJ_CREATE_FAIL=1,    SYS_OBJ_INVALID,	    SYS_OBJ_UNAVAILABLE,    SYS_WAIT_TIMEOUT,    SYS_CALL_FAIL};#endif#ifdef __cplusplus#if __cplusplus}#endif #endif 

⌨️ 快捷键说明

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