Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

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 Archives:
Bug reports: FAQ:
Beginner's list: