diff --git a/src/core/lib/utils/memory.c b/src/core/lib/utils/memory.c index 429239d..9c1628d 100644 --- a/src/core/lib/utils/memory.c +++ b/src/core/lib/utils/memory.c @@ -162,6 +162,15 @@ void *why2_fdopen(int file, char *modes) return opened; } +void *why2_opendir(char *name) +{ + void *opened = opendir(name); + + push_to_list(opened, OPENDIR); + + return opened; +} + void why2_deallocate(void *pointer) { //VARIABLES