defined why2_fdopen

This commit is contained in:
Václav Šmejkal 2023-02-05 18:45:20 +01:00
parent c1e9a15529
commit 90b1fef457
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -151,6 +151,15 @@ void *why2_fopen(char *name, char *modes)
return opened;
}
void *why2_fdopen(int file, char *modes)
{
void *opened = fdopen(file, modes);
push_to_list(opened, OPEN);
return opened;
}
void why2_deallocate(void *pointer)
{
//VARIABLES