forked from KolibriOS/kolibrios
6ec45316ae
-small bug fix git-svn-id: svn://kolibrios.org@244 a494cfbc-eb01-0410-851d-a64ba20cac60
10 lines
203 B
C
10 lines
203 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);
|
|
return res;
|
|
} |