struct ugcs::vsm::internal::Posix_file_handle::Io_cb

Overview

Posix specific I/O control block. More…

#include <posix_file_handle.h>

struct Io_cb: public ugcs::vsm::internal::Poll_io_controller::Io_cb
{
    // fields

    Posix_file_handle& handle;

    // construction

    Io_cb(Posix_file_handle& handle);
};

Inherited Members

public:
    // typedefs

    typedef void (*Callback)(Io_cb &);

    // enums

    enum Operation;

    // fields

    int fd;
    Operation op;
    void* buf;
    size_t size;
    Io_stream::Offset offset;
    Callback cbk;
    int error;
    ssize_t return_value;

Detailed Documentation

Posix specific I/O control block.

Fields

Posix_file_handle& handle

Associated handle.

Construction

Io_cb(Posix_file_handle& handle)

Construct block bound to a handle.