Struct FsEvent< details::UVFsType::READLINK >

Synopsis

#include <src/uvw/fs.h>

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

Description

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

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

Methods

FsEvent

Source

Lines 336-345 in src/uvw/fs.h.

template<>
struct FsEvent<details::UVFsType::READLINK> {
    explicit FsEvent(const char *pathname, const char *buf, std::size_t sz) noexcept
        : path{pathname}, data{buf}, size{sz}
    {}

    const char * path; /*!< The path affecting the request. */
    const char * data; /*!< A bunch of data read from the given path. */
    std::size_t size; /*!< The amount of data read from the given path. */
};





Add Discussion as Guest

Log in