Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Reading directory Problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Le, To Trinh <tle@f...>
Subject: [Caml-list] Reading directory Problem
Hello,

I have problem with determine directory or file type.  I wrote 
DIR * dirp; struct dirent *pDirent; 
while((pDirent=readdir(dirp)) != NULL)
{
if(pDirent->d_name[0] == '.'  continue;
 
I  do not know how to check if it is directory the we go to next level.


Thank you

ToTrinh Le



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners