bool fileExists(const char *filePath)
Check if a file exists.
bool fileReadable(const char *filePath)
Check if a file is readable, usinig the effective user and group identifiers of the calling process.
bool fileWritable(const char *filePath)
Check if a file is writable, using the effective user and group identifiers of the calling process.