aboutsummaryrefslogtreecommitdiffstats
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/api/fs/fs.h b/tools/lib/api/fs/fs.h
index 956c21127d1e..45605348461e 100644
--- a/tools/lib/api/fs/fs.h
+++ b/tools/lib/api/fs/fs.h
@@ -31,6 +31,8 @@ int filename__read_int(const char *filename, int *value);
31int filename__read_ull(const char *filename, unsigned long long *value); 31int filename__read_ull(const char *filename, unsigned long long *value);
32int filename__read_str(const char *filename, char **buf, size_t *sizep); 32int filename__read_str(const char *filename, char **buf, size_t *sizep);
33 33
34int filename__write_int(const char *filename, int value);
35
34int procfs__read_str(const char *entry, char **buf, size_t *sizep); 36int procfs__read_str(const char *entry, char **buf, size_t *sizep);
35 37
36int sysctl__read_int(const char *sysctl, int *value); 38int sysctl__read_int(const char *sysctl, int *value);
@@ -38,4 +40,6 @@ int sysfs__read_int(const char *entry, int *value);
38int sysfs__read_ull(const char *entry, unsigned long long *value); 40int sysfs__read_ull(const char *entry, unsigned long long *value);
39int sysfs__read_str(const char *entry, char **buf, size_t *sizep); 41int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
40int sysfs__read_bool(const char *entry, bool *value); 42int sysfs__read_bool(const char *entry, bool *value);
43
44int sysfs__write_int(const char *entry, int value);
41#endif /* __API_FS__ */ 45#endif /* __API_FS__ */