$ fh ->error
fh
Returns a true value if the given handle has experienced any errors since it was opened or since the last call to clearerr .
clearerr
Copyright © 2001 O'Reilly & Associates. All rights reserved.