types.h 411 字节
Newer Older
B
bernard.xiong 已提交
1 2 3 4 5
#ifndef __TYPES_H__
#define __TYPES_H__

#include <rtthread.h>

6
typedef long    	off_t;
B
bernard.xiong 已提交
7
typedef rt_size_t 	size_t;
8
typedef signed long ssize_t;		/* Used for a count of bytes or an error indication. */
B
bernard.xiong 已提交
9 10 11 12 13 14

typedef rt_uint8_t 	u_char;
typedef rt_uint16_t u_short;
typedef rt_ubase_t 	u_int;
typedef rt_uint32_t u_long;

15
typedef rt_time_t time_t;
16
typedef int mode_t;
17

B
bernard.xiong 已提交
18 19 20 21 22
#ifndef NULL
#define NULL RT_NULL
#endif

#endif