mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 03:42:35 +03:00
25 lines
359 B
PHP
25 lines
359 B
PHP
|
/*
|
||
|
some standart libC functions
|
||
|
*/
|
||
|
/*
|
||
|
static void* malloc(DWORD size)
|
||
|
{
|
||
|
return dlmalloc(size);
|
||
|
}
|
||
|
|
||
|
static void free(void *memory)
|
||
|
{
|
||
|
dlfree(memory);
|
||
|
}
|
||
|
|
||
|
static void* realloc(void *old_mem,DWORD new_size)
|
||
|
{
|
||
|
return dlrealloc(old_mem,new_size);
|
||
|
}
|
||
|
*/
|
||
|
|
||
|
static void exit(int c)
|
||
|
{
|
||
|
gui_ksys_exit(c);
|
||
|
}
|