fclear [file]
— Built-in Function: fclear (fid)

Clear the stream state for the specified file.