defined why2_fdopen
This commit is contained in:
parent
c1e9a15529
commit
90b1fef457
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user