Go Back   The UNIX and Linux Forums > Top Forums > Programming
.
google site




Thread: Q with stat()
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 09-11-2008
JamesGoh JamesGoh is offline
Registered User
 

Join Date: Nov 2007
Posts: 89
Ok fixed prob

Used the S_ISDIR() macro to do the test instead and it worked ok.