Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
12const char *sysfs__mountpoint(void);
13const char *procfs__mountpoint(void);
14
15int filename__read_int(const char *filename, int *value);
16int sysctl__read_int(const char *sysctl, int *value);
17#endif /* __API_FS__ */