#include <unistd.h>
#include "../common/UnicodeString.h"
Go to the source code of this file.
Namespaces | |
namespace | hwdet |
Functions | |
String | hwdet::GetErrorName (int error_id) |
Get name of an error with given error number. | |
String | hwdet::GetLastErrorName (void) |
Get name of an error. | |
int | hwdet::GetLastErrorID (void) |
Get error number. | |
bool | hwdet::FileExists (const char *filename) |
Test if given file exists. | |
bool | hwdet::FileTestPermissions (const char *filename, int flags) |
Test permissions of the file. | |
Variables | |
const int | hwdet::PERMISSIONS_READ = R_OK |
Read file permission bit. | |
const int | hwdet::PERMISSIONS_WRITE = W_OK |
Write file permission bit. | |
const int | hwdet::PERMISSIONS_EXECUTE = X_OK |
Execute file permission bit. |