?? types.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 + -