defined why2_opendir

fuck if this is gonna be painful as the last memory functions, I'm gonna hang myself
This commit is contained in:
Václav Šmejkal 2023-02-06 16:58:02 +01:00
parent 7d79ee29eb
commit bdd947fc64
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -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