on AIX 5.2 system my process fails closing the file descriptor
the same was observerd in 5.1/5.3
Truss output shows fail of close() function call. close() has returned with exit status 1.
This problem is noticed only on AIX 5.2 systems installed with ML04 directly during Operating system installation (Using OS CD which comes with Base OS and ML04). Systems which are installed with Base Operating system are working fine even after applying ML04 on the same.
With ML 7 also we were able to notice the problem.
Pinned topic Closing file descriptor gives error On AIX 5.2 system
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2006-01-18T21:22:46Z at 2006-01-18T21:22:46Z by ishields
ishields 2000001P5B3 Posts
Re: Closing file descriptor gives error On AIX 5.2 system2006-01-18T21:22:46ZThis is the accepted answer. This is the accepted answer.Do you mean it is returning -1? What is the value of errno? Note that if the close subroutine is interrupted by a signal that is caught, it returns a value of -1, the errno global variable is set to EINTR and the state of the FileDescriptor parameter is closed (from http://www16.boulder.ibm.com/pseries/en_US/libs/basetrf1/close.htm#idx414)