caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Reading directory Problem
@ 2003-07-30 18:37 Le, To Trinh
  2003-07-30 19:16 ` Chris Uzdavinis
  0 siblings, 1 reply; 3+ messages in thread
From: Le, To Trinh @ 2003-07-30 18:37 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-30 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-30 18:37 [Caml-list] Reading directory Problem Le, To Trinh
2003-07-30 19:16 ` Chris Uzdavinis
2003-07-30 20:52   ` David Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).