file을 open해서 close하면 됨
#define FILE "your_file"
#include <stdio.h>
main()
{
FILE *out;
if((out = fopen(FILE,"w+"))==NULL) {
fprintf(stderr,"Error..Cannot open l\n");
exit(1);
}
close(out);
}
도움이 되셨길..