#include "../systeminc/version.h" #include #include "test.h" void test(char *data) { FILE *logfile; logfile = fopen("test.txt","a+"); if(logfile) { fprintf(logfile,"%s\n",data); fclose(logfile); } }