1 /* 2 * Distributed under the terms of the OpenBeOS license 3 */ 4 #ifndef _SYS_TYPES_H 5 #define _SYS_TYPES_H 6 7 /* BSD compatibility */ 8 typedef unsigned long u_long; 9 typedef unsigned int u_int; 10 typedef unsigned short u_short; 11 typedef unsigned char u_char; 12 13 14 /* sysV compatibility */ 15 #ifndef _SUPPORT_DEFS_H 16 typedef unsigned long ulong; 17 typedef unsigned short ushort; 18 typedef unsigned int uint; 19 #endif 20 typedef unsigned char unchar; 21 22 23 typedef long long blkcnt_t; 24 typedef int blksize_t; 25 typedef long long fsblkcnt_t; 26 typedef long long fsfilcnt_t; 27 typedef long long off_t; 28 typedef long long ino_t; 29 typedef int cnt_t; 30 typedef long dev_t; 31 typedef long pid_t; 32 33 typedef unsigned int uid_t; 34 typedef unsigned int gid_t; 35 typedef unsigned int mode_t; 36 typedef unsigned int umode_t; 37 typedef int nlink_t; 38 39 typedef int daddr_t; 40 typedef char * caddr_t; 41 42 43 #include <null.h> 44 #include <size_t.h> 45 #include <time.h> 46 47 #endif 48