ARM64: juno: add GPIO keys
[linux/fpc-iii.git] / tools / lib / api / fs / fs.h
blob6caa2bbc6cecdc2f7fa39b69fa1cf30f8653f15e
1 #ifndef __API_FS__
2 #define __API_FS__
4 #ifndef SYSFS_MAGIC
5 #define SYSFS_MAGIC 0x62656572
6 #endif
8 #ifndef PROC_SUPER_MAGIC
9 #define PROC_SUPER_MAGIC 0x9fa0
10 #endif
12 const char *sysfs__mountpoint(void);
13 const char *procfs__mountpoint(void);
15 int filename__read_int(const char *filename, int *value);
16 int sysctl__read_int(const char *sysctl, int *value);
17 #endif /* __API_FS__ */