Open the log file in a text editor, and add a unique tag to the very beginning of the file and a corresponding closing tag at the end of the file.
在文本编辑器中打开日志文件,在每个文件的开头添加惟一的标记,在末尾添加相应的结束标记。
3
It is needed for the file opening, closing, reading, and writing functions (fopen , fclose , fgets , getc , and so on), for the printf family of functions, and for the setvbuf function.