summaryrefslogtreecommitdiff
path: root/src/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysfs.h')
-rw-r--r--src/sysfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sysfs.h b/src/sysfs.h
new file mode 100644
index 0000000..91bfb15
--- /dev/null
+++ b/src/sysfs.h
@@ -0,0 +1,2 @@
+extern int sysfs_path_is_file(const char *path);
+extern int sysfs_read_file(const char *path, char **output);