What is the maximum possible size for a text file that is to be used as a log file? And how do I go about exceeding the file size limitation?
The file size that I had get is 662KB and after which the program terminates the logging. My code is as follows:
BOOL LogFile(int line, char *smsg, char *rmsg)
static int i=1;
fprintf(fp,"%s %ld %s %s %s %d ** %-10s %-10s %-10s %-10s \n","No.", i++,"Date/Time:",time_buf,"Line:",call_line,"(smsg):",smsg," (rmsg):",rmsg);
What could be the problem?