Linux parse文件的函数
#include <stdio.h>FILE *fopen(const char *path, const char *mode);int fclose(FILE *fp);如果你要parse一个文件中的内容,首先必须要open这个文件。用户可以根据具体的需求来决定是以只读、只写或可读写等方式打开。#include <stdio.h>int fgetc(FILE *stream);char *fgets(char *s, int s...