X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Kernel%2Finclude%2Facess.h;h=a87aaec179f44b9b6548203028a25832a7c6a9b3;hb=56b770130dc830c6a9dccb6c50e6442a8bdb0b6c;hp=24621b9d25a8c8e0af75fd56f427cb8332b0289a;hpb=1ada116600acdd35f86f0cdaad2cc0339d61e533;p=tpg%2Facess2.git diff --git a/Kernel/include/acess.h b/Kernel/include/acess.h index 24621b9d..a87aaec1 100644 --- a/Kernel/include/acess.h +++ b/Kernel/include/acess.h @@ -10,6 +10,12 @@ #include #include +#include "errno.h" + +// --- Types --- +typedef Uint tUID; +typedef Uint tGID; +typedef Sint64 tTimestamp; // --- Helper Macros --- /** @@ -358,8 +364,8 @@ extern int Proc_Spawn(char *Path); extern void Threads_Exit(); extern void Threads_Yield(); extern void Threads_Sleep(); -extern int Threads_GetUID(); -extern int Threads_GetGID(); +extern tUID Threads_GetUID(); +extern tGID Threads_GetGID(); extern int SpawnTask(tThreadFunction Function, void *Arg); extern Uint *Threads_GetCfgPtr(int Id); /**