MySQL 8.0.40
Source Code Documentation
stdx::io::impl Namespace Reference

Typedefs

using stat_type = stat
 

Functions

stdx::expected< int, std::error_code > open (const char *fname, int flags, mode_t mode) noexcept
 
stdx::expected< void, std::error_code > close (file_handle::native_handle_type handle) noexcept
 
stdx::expected< void, std::error_code > unlink (const char *fn) noexcept
 
stdx::expected< stat_type, std::error_code > fstat (int handle) noexcept
 
stdx::expected< std::size_t, std::error_code > write (file_handle::native_handle_type handle, const char *data, const std::size_t len)
 

Typedef Documentation

◆ stat_type

using stdx::io::impl::stat_type = typedef stat

Function Documentation

◆ close()

stdx::expected< void, std::error_code > stdx::io::impl::close ( file_handle::native_handle_type  handle)
noexcept

◆ fstat()

stdx::expected< stat_type, std::error_code > stdx::io::impl::fstat ( int  handle)
noexcept

◆ open()

stdx::expected< int, std::error_code > stdx::io::impl::open ( const char *  fname,
int  flags,
mode_t  mode 
)
noexcept

◆ unlink()

stdx::expected< void, std::error_code > stdx::io::impl::unlink ( const char *  fn)
noexcept

◆ write()

stdx::expected< std::size_t, std::error_code > stdx::io::impl::write ( file_handle::native_handle_type  handle,
const char *  data,
const std::size_t  len 
)