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 
29 #ifndef _TYPES_H_
30 #define _TYPES_H_
31 
32 #ifndef _TYPES_UINTX_T_
33 #define _TYPES_UINTX_T_
34 typedef unsigned char uint8_t;
35 typedef unsigned short int uint16_t;
36 typedef unsigned long int uint32_t;
37 typedef unsigned long long int uint64_t;
38 typedef uint32_t vaddr_t;
39 #endif
40 
41 #ifndef _TYPES_SIZE_T_
42 #define _TYPES_SIZE_T_
43 typedef uint32_t size_t;
44 typedef int ssize_t;
45 #endif
46 
47 #ifndef _TYPES_OFF_T_
48 #define _TYPES_OFF_T_
49 typedef unsigned long long int off_t;
50 #endif
51 
52 typedef uint32_t paddr_t;
54 #ifndef __cplusplus
55 #define bool _Bool
56 #define true 1
57 #define false 0
58 #endif// __cplusplus
59 
60 #define __bool_true_false_are_defined 1
61 
62 /* Pointeur null */
63 #define NULL ((void*)0)
64 
65 #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
uint32_t paddr_t
Definition: types.h:52
int ssize_t
Definition: types.h:44
uint32_t vaddr_t
Definition: types.h:38
unsigned long int uint32_t
Definition: types.h:36