Searched refs:FilePtr (Results 1 – 1 of 1) sorted by relevance
50 using FilePtr = std::unique_ptr<FILE, decltype(&fclose)>; typedef98 FilePtr fp = {fopen(f.c_str(), "r+"), fclose}; in sysfs_write_val()118 FilePtr fp = {fopen(f.c_str(), "r"), fclose}; in sysfs_read_val()343 FilePtr fp = {fopen(filename.c_str(), "r"), fclose}; in get_scan_type()