2#include <seastar/core/sstring.hh>
4#include <boost/lexical_cast.hpp>
9sstring read_first_line(std::filesystem::path sys_file);
11template <
typename Type>
12Type read_first_line_as(std::filesystem::path sys_file) {
13 return boost::lexical_cast<Type>(read_first_line(sys_file));
Seastar API namespace.
Definition: abort_on_ebadf.hh:26