fan.c File Reference

#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

Define Documentation

#define ACPI_FAN_DIR   "/proc/acpi/fan"
 


Generated on Mon Mar 27 09:27:19 2006 for Powersave Daemon by  doxygen 1.4.6