The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-06-2008
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Do you have the source to the application?

Is this a reasonable test case given that the application does not do this normally?

What would you expect an application to do if it got an error from "close()"?

I, for one as a programmer, wouldn't assume the file was still open and continue to use the same filedescriptor. If I got an error from a close(), I would may report the error but have to treat the file descriptor as "undefined".