【 在 il15 的大作中提到: 】
: man fflush 一下,有下面这个说法:
: For input streams associated with seekable files (e.g., disk files, but not pipes or terminals), fflush() discards any buffered data that has been fetched from the underlying file, but has not been consumed by the application.
consume是指fread fscanf这些
: 但也还是不理解“has not been consumed by the application”这句。
: ...................
你这个关键其实是你seek了呀
--
修改:kirbyzhou FROM 220.249.52.*
FROM 220.249.52.*