Choco OS  V.0.16.9.0
Join to the chocolate world
oc_system.h
Go to the documentation of this file.
1 
28 #ifndef SYSTEM_LIBRARIES_INC_OC_SYSTEM_H_
29 #define SYSTEM_LIBRARIES_INC_OC_SYSTEM_H_
30 
31 #include <oc_stdlib.h>
32 #include <oc_time.h>
33 
39 #define _________________________________________TYPES_SECTION______________________________________________________________________________
40 
41 typedef void * Process_t;
42 
43 typedef void * Thread_t;
44 
45 typedef void * User_t;
46 
47 #undef _________________________________________TYPES_SECTION______________________________________________________________________________
48 
49 
55 #define _________________________________________INTERFACE_FUNCTIONS_SECTION________________________________________________________________
56 
57 extern Allocator_t getcurallocator (void);
58 extern Process_t getcurprocess (void);
59 extern Thread_t getcurthread (void);
60 extern User_t getcuruser (void);
61 extern User_t getrootuser (void);
62 extern bool iscurroot (void);
63 extern oC_Timestamp_t gettimestamp (void);
64 extern oC_Time_t gettimeout ( oC_Timestamp_t Timestamp );
65 extern oC_Timestamp_t timeouttotimestamp ( oC_Time_t Timeout );
66 extern bool sleep ( oC_Time_t Time );
67 
68 #undef _________________________________________INTERFACE_FUNCTIONS_SECTION________________________________________________________________
69 
70 
71 #endif /* SYSTEM_LIBRARIES_INC_OC_SYSTEM_H_ */
identifier for allocations
Definition: oc_stdlib.h:159
The library with time definitions.
Definition: oc_user.c:43