forked from KolibriOS/kolibrios
c4329e6227
-added support relative path in fopen -make up of build.bat git-svn-id: svn://kolibrios.org@245 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
227 B
C
11 lines
227 B
C
#include "stdio.h"
|
|
#include "string.h"
|
|
int fclose(FILE* file)
|
|
{
|
|
int res;
|
|
res=_msys_write_file(file->filename, 0, file->filesize, file->buffer);
|
|
free(file->buffer);
|
|
free(file->filename);
|
|
free(file);
|
|
return res;
|
|
} |