Logo Search packages:      
Sourcecode: pan version File versions

bool pan::file::file_exists ( const char *  filename  ) 

Check to see if the specifiled file exists.

Returns:
true if the file exists, false otherwise
Parameters:
filename the file to check

Definition at line 165 of file file-util.cc.

Referenced by get_unique_fname().

{
   return filename && *filename && g_file_test (filename, G_FILE_TEST_EXISTS);
}


Generated by  Doxygen 1.6.0   Back to index