#include <cerrno>#include <cstdio>#include <cstring>#include <filesystem>#include <memory>#include <stdexcept>#include <string>#include "forwarddeclarations.h"Go to the source code of this file.
Classes | |
| struct | smash::FileDeleter |
| FileDeleter is the deleter class for std::unique_ptr of std::FILE. More... | |
| class | smash::RenamingFilePtr |
A RAII type to replace std::FILE *. More... | |
Namespaces | |
| smash | |
Typedefs | |
| using | smash::FilePtr = std::unique_ptr< std::FILE, FileDeleter > |
A RAII type to replace std::FILE *. More... | |
Functions | |
| FilePtr | smash::fopen (const std::filesystem::path &filename, const std::string &mode) |
| Open a file with given mode. More... | |