1 #define PATH_TO_CPU "/sys/devices/system/cpu/" 2 #define MAX_LINE_LEN 4096 3 #define SYSFS_PATH_MAX 255 4 5 unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen); 6