sysfs__read_str
int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
if (sysfs__read_str("devices/system/cpu/online", &buf, &buf_len) >= 0) {
if (sysfs__read_str(path, &buf, &size) < 0) {
if (sysfs__read_str(sysfs_path, &buf, &buf_len) < 0)
if (sysfs__read_str(buf, &str, &strlen) < 0)
ret = sysfs__read_str("devices/system/node/online", &buf, &len);
if (sysfs__read_str(file, &cache->type, &len))
if (sysfs__read_str(file, &cache->size, &len)) {
if (sysfs__read_str(file, &cache->map, &len)) {