devices.c File Reference

#include "config.h"
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <linux/major.h>
#include <linux/hdreg.h>
#include "powerlib.h"
#include "powerlib_local.h"
#include "string.h"

Defines

#define ACPI_LID_DIR   "/proc/acpi/button/lid"

Functions

int getLidState (void)
 returns the current state of the lid

Define Documentation

#define ACPI_LID_DIR   "/proc/acpi/button/lid"
 


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