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;
|
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)
|
void why2_deallocate(void *pointer)
|
||||||
{
|
{
|
||||||
//VARIABLES
|
//VARIABLES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user