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 > HP-UX
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-25-2007
sandiworld sandiworld is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 4
Thanks a lot for your valuable comment.
I need to query this call with 1 element only and I have to process the output.
So is it for sure that pstat_getdisk() always returns 0 at the end of the list only and not in between?
Can we break the loop on if(ret <= 0) condition?