/***************************************************************************
*
* hal-system-lcd-get-brightness-sunos.c : Get LCD brightness
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Licensed under the Academic Free License version 2.1
*
**************************************************************************/
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <errno.h>
#include <string.h>
#include <strings.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/acpi_drv.h>
int
{
char *udi;
char *devfs_path;
return (-1);
}
return (-1);
}
device_file, udi);
return (-1);
}
return (-1);
} else {
return (status.cur_level_index);
}
}