◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The fscanf function reads data from the current position of <stream> into the locations given by <argument> (if any). Each argument must be a pointer to a variable with a type corresponding to a type specifier in <format>. The <format> argument controls the interpretation of the input fields and has the same form and function as the <format> argument for the scanf function. See scanf for a description of the <format> argument. Return Value The fscanf function returns the number of fields that were successfully converted and assigned. The return value does not include fields that were read but not assigned. A return value of 0 means that no fields were assigned. The fscanf function returns EOF if an input error occurs before any conversion is performed. -♦-