#include "config.h"
#include <fcntl.h>
#include <sys/ioctl.h>
#include <dirent.h>
#include <unistd.h>
#include <stdlib.h>
#include "powerlib_local.h"
#include "powerlib.h"
#include "errno.h"
Defines | |
#define | ACPI_FAN_DIR "/proc/acpi/fan" |
Functions | |
int | getFanNum () |
get number of fans in the system | |
int | getFanStatus (const int device_num) |
get fan status |
|
|