summaryrefslogtreecommitdiff
path: root/tools/power/cpupower/lib/cpupower_intern.h
blob: f8ec4009621ca2139226df4b62e702a103ca5f07 (plain)
1
2
3
4
5
#define PATH_TO_CPU "/sys/devices/system/cpu/"
#define MAX_LINE_LEN 4096
#define SYSFS_PATH_MAX 255

unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen);