[c] How to find EOF through fscanf?