SystemHelper.h File Reference

System helper functions. More...

#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.


Detailed Description

System helper functions.

Author:
Branislav Repcek
Date:
13. 12. 2006

Generated on Tue Dec 19 17:43:51 2006 for Detector for Linux by  doxygen 1.4.7