x The number of successfully matched and assigned input items. EOF Indicates that a read error occurred before any conversion. The function sets errno. For a list of the values set by this function, see fscanf.