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

📄 types.h

📁 gcc lib for WindowsCE operating system
💻 H
字号:
#ifndef SYS_TYPES_H
#define SYS_TYPES_H 1


#ifdef __arm__
typedef unsigned int size_t;
#endif

#ifdef __sh__
typedef unsigned int size_t;
#endif

#ifdef __mips__
typedef long unsigned int size_t;
#endif

typedef int ssize_t;

#ifndef _CLOCKT_DEFINED_
typedef unsigned long clock_t;
#define _CLOCKT_DEFINED_
#endif

#ifndef __cplusplus
#ifndef _WCHAR_T_DEFINED_
typedef short wchar_t;
#define _WCHAR_T_DEFINED_
#endif
#endif

#define NULL ((void *) 0)

// these are needed by bsd-strtod...
#define BIG_ENDIAN    1234
#define LITTLE_ENDIAN 4321

typedef unsigned long dev_t;
typedef unsigned long ino_t;
#ifndef _MODE_T_DEFINED_
typedef unsigned long mode_t;
#define _MODE_T_DEFINED_
#endif

typedef unsigned short gid_t;
typedef unsigned short uid_t;

#ifndef _CLOCKT_DEFINED_
typedef unsigned long clock_t;
#define _CLOCKT_DEFINED_
#endif

#ifndef _PTRDIFF_T_DEFINED
typedef long ptrdiff_t;
#define _PTRDIFF_T_DEFINED
#endif

#ifndef _OFF_T_DEFINED_
typedef long off_t;
#define _OFF_T_DEFINED_
#endif

typedef long __off_t;

typedef unsigned char u_char;
typedef unsigned short u_short;

#ifndef _CADDR_T_DEFINED_
typedef unsigned char * caddr_t;
#define _CADDR_T_DEFINED_
#endif

typedef unsigned char u_int8_t;

typedef short int16_t;
typedef unsigned short u_int16_t;

typedef int int32_t;
typedef unsigned int u_int32_t;

typedef unsigned long u_long;
typedef unsigned int u_int;

#ifndef _TIME_T_DEFINED_
typedef unsigned long time_t;
#define _TIME_T_DEFINED_
#endif

#ifndef _PID_T_DEFINED_
typedef unsigned long pid_t;
#define _PID_T_DEFINED_
#endif

#ifndef __cplusplus
#ifndef _WCHAR_T_DEFINED_
typedef short wchar_t;
#define _WCHAR_T_DEFINED_
#endif
#endif

typedef long long quad_t;
typedef unsigned long long u_quad_t;
typedef long qdiv_t;

#endif

⌨️ 快捷键说明

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