Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / tools / lib / api / fs / fs.h
1 #ifndef __API_FS__
2 #define __API_FS__
3
4 #ifndef SYSFS_MAGIC
5 #define SYSFS_MAGIC            0x62656572
6 #endif
7
8 #ifndef PROC_SUPER_MAGIC
9 #define PROC_SUPER_MAGIC       0x9fa0
10 #endif
11
12 const char *sysfs__mountpoint(void);
13 const char *procfs__mountpoint(void);
14
15 int filename__read_int(const char *filename, int *value);
16 int sysctl__read_int(const char *sysctl, int *value);
17 #endif /* __API_FS__ */