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

📄 types.h

📁 基于vxworks操作系统,Tornado2.0平台,生成树STP源码.直接在其对应的设备中添加即可.
💻 H
字号:
/* tmsTypes.h - Types portable application programming interface. *//* Copyright 1998-2000 Wind River Systems, Inc. *//*modification history--------------------01d,17apr01,kc   Added the strcasecmp and strncasecmp prototypes.01c,17mar01,kw   Added the sysTaskPriorityGet and sysTaskStackSizeGet prototypes01b,12jun00,kw   Added the lstLib.h include.01a,12dec98,kw   Created.*/#ifndef __INCtmsTypesh#define __INCtmsTypesh#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#ifdef tmsTypes_DEBUG	/* This is here to stop PC-Lint from complaining. */#endif    /*lint -save -e* Turn off all errors for vxWorks headers */#include <vxWorks.h>#include <stdio.h>#include <string.h>#include <ctype.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <types/vxTypesOld.h>#include <sys/socket.h>#include <ioLib.h>#include <selectLib.h>#include <tickLib.h>#include <time.h>#include <setjmp.h>#include <intLib.h>#include <tyLib.h>#include <vxLib.h>#include <memLib.h>#include <vmLib.h>#include <cacheLib.h>#include <semLib.h>#include <taskLib.h>#include <inetLib.h>#include <sockLib.h>#include <ptyDrv.h>#include <logLib.h>#include <fcntl.h>#include <fioLib.h>#include <sysLib.h>#include <netShow.h>#include <netdb.h>#include <fcntl.h>#include <fioLib.h>#include <errnoLib.h>#include <netShow.h>#include <netdb.h>#include <netinet/in.h>#include <netinet/tcp.h>#include <lstLib.h>#include <avlLib.h>    /*lint -restore */#ifndef _lint#if !defined(__CEXTRACT__)#if defined(__GNUC__)#if (tmsTypes_DEBUG > 0)#define dprintf(format, args...) { \	fprintf(stderr,"%s:%d ", __FILE__, __LINE__); \	fprintf(stderr,format, ## args); }#else#define dprintf(format, args...)	{ }#endif#endif#endif#elseIMPORT	void	dprintf(char * format, ... );#endifenum { False = 0, false = 0, True = 1, true = 1 };typedef void	            (*pfv_t)();typedef ulong_t	            (*pfu_t)();typedef ulong_t		        boolean;typedef ulong_t		        Boolean;typedef const	 char	    c_char;typedef unsigned long long	ul64;typedef          long long	il64;#ifndef max#define max(a,b)		( (a > b) ? a : b )#endif#ifndef min#define min(a,b)		( (a < b) ? a : b )#endif#define align(x,y)      (((ulong_t)x + ((ulong_t)y - 1)) & ~((ulong_t)y - 1))#define cntrl(x)		(x & 0x1f)/* Common defines. */IMPORT int sysTaskPriorityGet( char * ); IMPORT int sysTaskStackSizeGet( char * ); IMPORT ulong_t crc32( uchar_t * buf, ulong_t len );/*IMPORT int strcasecmp( const char *s1, const char *s2 );*/IMPORT int strncasecmp( const char *s1, const char *s2, register size_t n );#ifdef __cplusplus}#endif /* __cplusplus */#endif /* __INCtmsTypesh */

⌨️ 快捷键说明

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