diff --git a/include/memory.h b/include/memory.h index 1f4a3da..51baedc 100644 --- a/include/memory.h +++ b/include/memory.h @@ -1,8 +1,15 @@ #ifndef WHY2_MEMORY_H #define WHY2_MEMORY_H +#include //TODO: Make the FILE* shit smarter | idk if it is possible + void *why2_malloc(unsigned long size); void *why2_calloc(unsigned long element, unsigned long size); +void *why2_realloc(void *pointer, unsigned long size); + +FILE *why2_fopen(char *file_name, char *modes); +FILE *why2_fdopen(int file, char *modes); +int open(char *file, int flags, ...); void why2_free(void *pointer);