replace fscanf_s 2 fscanf to suit with GCC