Add basic backlight percentage support

At the moment linux only, but will add support for OpenBSD as well.
This commit is contained in:
David Demelier
2018-05-22 09:23:29 +02:00
committed by Aaron Marcher
parent cbbf59fd3d
commit 37724ac2c3
6 changed files with 41 additions and 0 deletions

2
util.h
View File

@ -1,4 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
extern char buf[1024];
#define LEN(x) (sizeof (x) / sizeof *(x))