-bool writeout::DirectoryExists( const char* pzPath )
-{
- if ( pzPath == NULL) return false;
-
- DIR *pDir;
- bool bExists = false;
-
- pDir = opendir (pzPath);
-
- if (pDir != NULL)
- {
- bExists = true;
- (void) closedir (pDir);
- }
-
- return bExists;
-}
-