diff options
Diffstat (limited to 'src/sysfs.h')
-rw-r--r-- | src/sysfs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sysfs.h b/src/sysfs.h new file mode 100644 index 0000000..174804f --- /dev/null +++ b/src/sysfs.h @@ -0,0 +1,6 @@ +#define MAX_BUF_SIZE 255 + +int sysfs_read_int(char *path, int *val); +int sysfs_read_str(char *path, char *str, int len); +int sysfs_write_int(char *path, int val); +int sysfs_write_str(char *path, char *str); |