TacOS  0.2
 Tout Structures de données Fichiers Fonctions Variables Définitions de type Énumérations Macros
types.h
Aller à la documentation de ce fichier.
1 
28 #ifndef _SYS_TYPES_H_
29 #define _SYS_TYPES_H_
30 
31 #include <sys/cdefs.h>
32 
33 __BEGIN_DECLS
34 
35 #include <stdbool.h>
36 
37 typedef int pid_t;
39 #ifndef _TYPES_UINTX_T_
40 #define _TYPES_UINTX_T_
41 typedef unsigned char uint8_t;
42 typedef unsigned short int uint16_t;
43 typedef unsigned long int uint32_t;
44 typedef unsigned long long int uint64_t;
45 typedef uint32_t vaddr_t;
46 #endif
47 
48 #ifndef _TYPES_SIZE_T_
49 #define _TYPES_SIZE_T_
50 typedef uint32_t size_t;
51 typedef int ssize_t;
52 #endif
53 
54 #ifndef _TYPES_OFF_T_
55 #define _TYPES_OFF_T_
56 typedef unsigned long long int off_t;
57 #endif
58 
59 #ifdef __cplusplus
60 #define NULL 0
61 #else
62 #define NULL ((void*)0)
63 #endif
64 
65 __END_DECLS
66 
67 #endif
unsigned long long int off_t
Definition: types.h:56
unsigned long long int uint64_t
Definition: types.h:37
uint32_t size_t
Definition: types.h:43
unsigned short int uint16_t
Definition: types.h:35
unsigned char uint8_t
Definition: types.h:34
int ssize_t
Definition: types.h:44
uint32_t vaddr_t
Definition: types.h:38
__BEGIN_DECLS typedef int pid_t
Definition: types.h:37
unsigned long int uint32_t
Definition: types.h:36
Type bool.