#include <string.h>
#include "extern.h"

hisment()
    {  long hispos;
	   fp1 = fopen(BBSMAS,"r+");
       while(1)
         {   if ( fgets(fbuff,255,fp1) == NULL ) break;
             if ( strncmp(hiscall,fbuff,8) != NULL ) continue;
 			 hispos = ftell(fp1);  hispos -= 16L;
             fseek(fp1,hispos,0);
             sprintf(fbuff,"%s %s",statdate,stattime);
             fputs(fbuff,fp1);
             fclose(fp1);
             return(0);
         }
       fclose(fp1);
       return(1);
    }
