16 lines
211 B
C
16 lines
211 B
C
|
|
#include <stdio.h>
|
||
|
|
#include <stdlib.h>
|
||
|
|
#include <string.h>
|
||
|
|
#include <__fio.h>
|
||
|
|
|
||
|
|
int fclose(FILE *fp)
|
||
|
|
{
|
||
|
|
int res = __fio_fclose(fp);
|
||
|
|
if (res != 0) {
|
||
|
|
return EOF;
|
||
|
|
}
|
||
|
|
|
||
|
|
free(fp);
|
||
|
|
return 0;
|
||
|
|
}
|