If you´re unfamiliar with it, fscanf reads field data into variables from a file.
如果您不熟悉它,则fscanf将把字段数据从文件读入变量中。
The fgets, fgetss, fread, fscanf, and fclose functions also return False on error.
fscanf 和 fclose 函数在出错时也返回 False。
The fscanf function parses the input from an open file according to the specified format.
fscanf函数的作用是:从文件中按照指定的格式输入。
If you´re processing large amounts of data, fscanf will probably prove valuable and more efficient than, say, using file followed by a split and sprintf command.
如果要处理大量数据,fscanf将能证明自己的价值并比使用file附带split和sprintf命令更有效率。