21 operator os_error_t()
const {
return error; }
26 const char *
what()
const;
36 static Io file(
const char *path);
41 const void *
map()
const;
43 std::string_view
text()
const;
45 const char *
name()
const;
static Io file(const char *path)
const char * name() const
std::string_view text() const
const char * what() const
OsError(os_error_t error)
typedefCT_BEGIN_API struct io_t io_t
an io object
CT_IO_API os_error_t io_close(INOUT_NOTNULL io_t *io)
destroy an IO object
std::unique_ptr< io_t, decltype(kIoDelete)> unique_io_t