summaryrefslogtreecommitdiff
path: root/tools/lib/api/fs/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/api/fs/fs.h')
-rw-r--r--tools/lib/api/fs/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/api/fs/fs.h b/tools/lib/api/fs/fs.h
index 6b332dc74498..956c21127d1e 100644
--- a/tools/lib/api/fs/fs.h
+++ b/tools/lib/api/fs/fs.h
@@ -37,4 +37,5 @@ int sysctl__read_int(const char *sysctl, int *value);
int sysfs__read_int(const char *entry, int *value);
int sysfs__read_ull(const char *entry, unsigned long long *value);
int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
+int sysfs__read_bool(const char *entry, bool *value);
#endif /* __API_FS__ */