defined why2_fopen
This commit is contained in:
parent
6e7ea8b6f5
commit
eb9033dedd
@ -142,6 +142,15 @@ char *why2_strdup(char *string)
|
|||||||
return allocated;
|
return allocated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void *why2_fopen(char *name, char *modes)
|
||||||
|
{
|
||||||
|
void *opened = fopen(name, modes);
|
||||||
|
|
||||||
|
push_to_list(opened, FOPEN);
|
||||||
|
|
||||||
|
return opened;
|
||||||
|
}
|
||||||
|
|
||||||
void why2_deallocate(void *pointer)
|
void why2_deallocate(void *pointer)
|
||||||
{
|
{
|
||||||
//VARIABLES
|
//VARIABLES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user