#include <stdio.h>
int fscanf (
FILE* stream, /* file stream to read from */
const char* fmtstr, /* format string */
...); /* additional arguments */
Description
The function fscanf reads values from a data stream and stores them with the specified format to a variable. The parameter stream is a file pointer defining the data stream to read. The parameter fmtstr is a character pointer defining the formatting string. The parameters additional arguments store the data according to the format string fmtstr. Each argument must be a pointer to a variable corresponding to the type defined in fmtstr.
The function is included in the library RL-FlashFS. The prototype is defined in the file stdio.h.