25 lines
367 B
C
25 lines
367 B
C
//
|
|
// Created by rick on 23-02-21.
|
|
//
|
|
|
|
#ifndef NEW_KERNEL_MALLOC_H
|
|
#define NEW_KERNEL_MALLOC_H
|
|
// retrieved from https://github.com/blanham/liballoc
|
|
#include <sys/types.h>
|
|
|
|
void *malloc(size_t);
|
|
|
|
void *realloc(void *, size_t);
|
|
|
|
void *calloc(size_t, size_t);
|
|
|
|
void free(void *);
|
|
|
|
#ifndef INCLUDE_STDLIB
|
|
|
|
void print_malloc_info();
|
|
|
|
#endif
|
|
|
|
#endif //NEW_KERNEL_MALLOC_H
|