Struct FsEvent< details::UVFsType::MKSTEMP >

Synopsis

#include <src/uvw/fs.h>

template<>
struct FsEvent<details::UVFsType::MKSTEMP>

Description

FsEvent event specialization for FsRequest::Type::MKSTEMP.

It will be emitted by FsReq and/or FileReq according with their functionalities.

Methods

FsEvent

Source

Lines 302-310 in src/uvw/fs.h.

template<>
struct FsEvent<details::UVFsType::MKSTEMP> {
    FsEvent(const char *pathname, std::size_t desc) noexcept
        : path{pathname}, descriptor{desc}
    {}

    const char * path; /*!< The created file path. */
    std::size_t descriptor; /*!< The file descriptor as an integer. */
};





Add Discussion as Guest

Log in