Skip to main content

fs::File

Functions

File()#

inline

fs::File::File ()

File(const File &file)=delete#

fs::File::File (const File &file)=delete

File(File &&a) noexcept#

inline

fs::File::File (File &&a) noexcept

File(IsOverwrite is_overwrite, var::StringView path, OpenMode flags=OpenMode::read_write(), Permissions perms=Permissions(0666))#

fs::File::File (IsOverwrite is_overwrite, var::StringView path, OpenMode flags=OpenMode::read_write(), Permissions perms=Permissions(0666))

File(var::StringView name, OpenMode flags=OpenMode::read_only())#

explicit

fs::File::File (var::StringView name, OpenMode flags=OpenMode::read_only())

~File()#

virtual fs::File::~File ()

fileno() const#

int fs::File::fileno () const

Type: int

flags() const#

int fs::File::flags () const

Type: int

is_valid() const#

inline

bool fs::File::is_valid () const

Type: bool

operator=(const File &file)=delete#

File & fs::File::operator= (const File &file)=delete

Type: File &

Parameters:

operator=(File &&a) noexcept#

inline

File & fs::File::operator= (File &&a) noexcept

Type: File &

Parameters:

set_fileno(int fd)#

inline

File & fs::File::set_fileno (int fd)

Type: File &

Parameters:

  • int fd