Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Version 0.08 release
[xestiacalendar/.git] / 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         const char *FilenameChar = Filename.c_str(); 
12         
13         int rescode = access(FilenameChar, R_OK);
14         
15         if (errno == ENOENT){
16                 return false;
17         }
19 #endif
21         return true;
22         
23 }
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