#include <io.h>
Inheritance diagram for os::posix::io_impl:Public Member Functions | |
Constructors & Destructor | |
| io_impl (void) | |
| virtual | ~io_impl () |
Public Member Functions | |
| virtual void | do_deallocate (void) |
| virtual bool | do_is_opened (void)=0 |
| virtual bool | do_is_connected (void) |
| virtual ssize_t | do_read (void *buf, std::size_t nbyte)=0 |
| virtual ssize_t | do_write (const void *buf, std::size_t nbyte)=0 |
| virtual ssize_t | do_writev (const iovec *iov, int iovcnt) |
| virtual int | do_vfcntl (int cmd, std::va_list args) |
| virtual int | do_isatty (void) |
| virtual int | do_fstat (struct stat *buf) |
| virtual off_t | do_lseek (off_t offset, int whence)=0 |
| virtual int | do_close (void)=0 |
| off_t | offset (void) |
| void | offset (off_t offset) |
Friends | |
| class | io |
| os::posix::io_impl::io_impl | ( | void | ) |
Definition at line 467 of file io.cpp.
References os::trace::printf().
|
virtual |
Definition at line 474 of file io.cpp.
References os::trace::printf().
|
pure virtual |
Implemented in os::posix::block_device_partition_impl.
Referenced by os::posix::io::alloc_file_descriptor(), and os::posix::io::close().
|
virtual |
|
virtual |
Definition at line 539 of file io.cpp.
Referenced by os::posix::io::fstat().
|
virtual |
|
pure virtual |
Implemented in os::posix::device_impl.
Referenced by os::posix::io::is_opened().
|
virtual |
Reimplemented in os::posix::tty_impl.
Definition at line 532 of file io.cpp.
Referenced by os::posix::io::isatty().
|
pure virtual |
Implemented in os::posix::block_device_impl, and os::posix::char_device_impl.
Referenced by os::posix::io::lseek().
|
pure virtual |
Implemented in os::posix::block_device_impl.
Referenced by os::posix::io::read().
|
virtual |
Definition at line 525 of file io.cpp.
Referenced by os::posix::io::vfcntl().
|
pure virtual |
Implemented in os::posix::block_device_impl.
Referenced by do_writev(), and os::posix::io::write().
|
virtual |
Definition at line 502 of file io.cpp.
References do_write(), iovec::iov_base, and iovec::iov_len.
Referenced by os::posix::io::writev().
|
inline |
|
inline |
Definition at line 472 of file io.h.
Referenced by os::posix::block_device_partition_impl::configure(), os::posix::block_device_impl::do_lseek(), and offset().