|
static const char * | fileRead (const char *path) |
|
static const int | intRead (const char *path) |
|
static int | intWrite (const char *path, int value) |
|
int ThinkPad::Utilities::CommonUtils::intWrite |
( |
const char * |
path, |
|
|
int |
value |
|
) |
| |
|
static |
The logarithm of a number with base 10 returns the rough number of digits, we add +1 for the number of digits, +1 for the null terminator safety
we also need to check if the value is 0; log(0) is not defined
The documentation for this class was generated from the following files:
- /home/gala/Documents/Development/libthinkpad/upstream/src/libthinkpad.h
- /home/gala/Documents/Development/libthinkpad/upstream/src/libthinkpad.cpp