root/log.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. initlog
  2. closelog

   1 /* log.c */
   2 #include<log.h>
   3 
   4 FILE* logp;
   5 
   6 void initlog(void){
   7   logp = fopen("log.txt","w");
   8 }
   9 
  10 int closelog(void){
  11   return fclose(logp);
  12 }

/* [<][>][^][v][top][bottom][index][help] */