From 1285f52b6737093f802163b3dc313253ea96f5bc Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 5 Feb 2023 18:23:03 +0100 Subject: [PATCH] declared why2_fopen, why2_fdopen, why2_open and why2_opendir --- include/memory.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/memory.h b/include/memory.h index 86b94b2..9ab8cb3 100644 --- a/include/memory.h +++ b/include/memory.h @@ -7,6 +7,11 @@ void *why2_realloc(void *pointer, unsigned long size); char *why2_strdup(char *string); +void *why2_fopen(char *name, char *modes); +void *why2_fdopen(int file, char *modes); +int why2_open(char *name, int flags, ...); +void *why2_opendir(char *name); + void why2_free(void *pointer); void why2_clean_memory(char *identifier); //identifier SPECIFIES WHICH NODES TO DEALLOCATE | THIS IS BASICALLY GARBAGE COLLECTOR | PASS why2_get_default_memory_identifier() FOR DEALLOCATING EVERYTHING