#include <stdio.h>
int fscanf (
FILE *stream, /* file stream to read from */
const char *fmtstr /* format string */
« , arguments ... »); /* additional arguments */
Description
The fscanf function reads formatted data from stream. Data input are stored in the locations specified by arguments according to the format string fmtstr. Each arguments must be a pointer to a variable that corresponds to the type defined in fmtstr.
The fscanf function is in the RL-FlashFS library. The prototype is defined in stdio.h.
Return Value
The fscanf function returns the number of input fields that were successfully converted.