#include #include std::string boot() { std::string s; std::ifstream in("/proc/sys/kernel/random/boot_id"); std::getline(in, s); return s; }