SystemHelper.cpp File Reference

System helper functions. More...

#include <errno.h>
#include <unistd.h>
#include "../common/UnicodeString.h"
#include "SystemHelper.h"

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.


Detailed Description

System helper functions.

Author:
Branislav Repcek
Date:
12. 12. 2006

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