Share this page

# fscanf

Example: fscanf | Input-Output Functions

Reads formatted input from a stream.

    int fscanf( FILE *file_pointer, const char *format string [, args]);

file_pointer | A pointer to a file.
string | One or more formatting characters.
args | One or more optional print arguments.

For fscanf details, refer to your C language documentation.

## Return Values

The number of items successfully read. This count does not include any ignored fields. If EOF is returned, an error has occurred before the first assignment could be performed.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: