reSIProcate/rutil  9694
Functions
testFileSystem.cxx File Reference
#include "rutil/FileSystem.hxx"
#include <iostream>
Include dependency graph for testFileSystem.cxx:

Go to the source code of this file.

Functions

int main ()

Function Documentation

int main ( void  )

Definition at line 8 of file testFileSystem.cxx.

References resip::FileSystem::Directory::begin(), and resip::FileSystem::Directory::end().

{
#ifdef WIN32
   FileSystem::Directory dir("c:\\windows\\");
#else
   FileSystem::Directory dir("/usr/bin/");
#endif
   for (FileSystem::Directory::iterator it = dir.begin(); it != dir.end(); ++it)
   {
      cerr << *it << endl;
   }
   return 0;
}

Here is the call graph for this function: