Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Replaced use of access function with stat function when using FileExists
[xestiacalendar/.git] / source / common / file.cpp
1 #include "file.h"
3 using namespace std;
5 bool FileExists(std::string Filename){
6         
7 #if defined (__WIN32__)
9 #else 
11         struct stat BuffData;
12                 
13         if (stat(Filename.c_str(), &BuffData) == -1){
14                 return false;
15         }
17 #endif
18         
19         return true;
20         
21 }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy