|
w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RfileFd.hpp>
Public Member Functions | |
| RfileFd () | |
| FIXME_docs. | |
| RfileFd (const char *cnam) | |
| FIXME_docs. | |
| RfileFd (const RfileFd &)=delete | |
| RfileFd & | operator= (const RfileFd &)=delete |
| bool | Open (const char *fname, int flags, RerrMsg &emsg) |
| FIXME_docs. | |
| bool | Open (const char *fname, int flags, mode_t mode, RerrMsg &emsg) |
| FIXME_docs. | |
| bool | Stat (struct stat *sbuf, RerrMsg &emsg) |
| FIXME_docs. | |
| off_t | Seek (off_t offset, int whence, RerrMsg &emsg) |
| FIXME_docs. | |
| bool | Truncate (off_t length, RerrMsg &emsg) |
| FIXME_docs. | |
| ssize_t | Read (void *buf, size_t count, RerrMsg &emsg) |
| FIXME_docs. | |
| bool | WriteAll (const void *buf, size_t count, RerrMsg &emsg) |
| FIXME_docs. | |
Public Member Functions inherited from Retro::Rfd | |
| Rfd () | |
| FIXME_docs. | |
| Rfd (Rfd &&rhs) | |
| FIXME_docs. | |
| Rfd (const char *cnam) | |
| FIXME_docs. | |
| virtual | ~Rfd () |
| FIXME_docs. | |
| Rfd (const Rfd &)=delete | |
| Rfd & | operator= (const Rfd &)=delete |
| bool | SetFd (int fd) |
| FIXME_docs. | |
| int | Fd () const |
| FIXME_docs. | |
| bool | IsOpen () const |
| FIXME_docs. | |
| bool | IsOpenNonStd () const |
| FIXME_docs. | |
| void | Close () |
| FIXME_docs. | |
| bool | Close (RerrMsg &emsg) |
| FIXME_docs. | |
| void | CloseOrCerr () |
| FIXME_docs. | |
| operator bool () const | |
| FIXME_docs. | |
Additional Inherited Members | |
Protected Attributes inherited from Retro::Rfd | |
| int | fFd |
| std::string | fCnam |
FIXME_docs.
Definition at line 30 of file RfileFd.hpp.
| Retro::RfileFd::RfileFd | ( | ) |
FIXME_docs.
Definition at line 31 of file RfileFd.cpp.
|
explicit |
FIXME_docs.
Definition at line 38 of file RfileFd.cpp.
|
delete |
| bool Retro::RfileFd::Open | ( | const char * | fname, |
| int | flags, | ||
| RerrMsg & | emsg | ||
| ) |
FIXME_docs.
Definition at line 45 of file RfileFd.cpp.
References Retro::Rfd::Close(), Retro::Rfd::fCnam, Retro::RerrMsg::InitErrno(), Retro::Rfd::IsOpen(), and Retro::Rfd::SetFd().
Referenced by Retro::Rw11VirtDiskFile::Open(), and Retro::Rw11VirtTapeTap::Open().
| bool Retro::RfileFd::Open | ( | const char * | fname, |
| int | flags, | ||
| mode_t | mode, | ||
| RerrMsg & | emsg | ||
| ) |
FIXME_docs.
Definition at line 58 of file RfileFd.cpp.
References Retro::Rfd::Close(), Retro::Rfd::fCnam, Retro::RerrMsg::InitErrno(), Retro::Rfd::IsOpen(), and Retro::Rfd::SetFd().
| bool Retro::RfileFd::Stat | ( | struct stat * | sbuf, |
| RerrMsg & | emsg | ||
| ) |
FIXME_docs.
Definition at line 71 of file RfileFd.cpp.
References Retro::Rfd::fCnam, Retro::Rfd::fFd, and Retro::RerrMsg::InitErrno().
Referenced by Retro::Rw11VirtDiskFile::Open(), and Retro::Rw11VirtTapeTap::Open().
| off_t Retro::RfileFd::Seek | ( | off_t | offset, |
| int | whence, | ||
| RerrMsg & | emsg | ||
| ) |
FIXME_docs.
Definition at line 83 of file RfileFd.cpp.
References Retro::Rfd::fCnam, Retro::Rfd::fFd, and Retro::RerrMsg::InitErrno().
Referenced by Retro::Rw11VirtDiskFile::Read(), Retro::Rw11VirtTapeTap::Seek(), and Retro::Rw11VirtDiskFile::Write().
| bool Retro::RfileFd::Truncate | ( | off_t | length, |
| RerrMsg & | emsg | ||
| ) |
FIXME_docs.
Definition at line 95 of file RfileFd.cpp.
References Retro::Rfd::fCnam, Retro::Rfd::fFd, and Retro::RerrMsg::InitErrno().
Referenced by Retro::Rw11VirtTapeTap::Write().
| ssize_t Retro::RfileFd::Read | ( | void * | buf, |
| size_t | count, | ||
| RerrMsg & | emsg | ||
| ) |
FIXME_docs.
Definition at line 107 of file RfileFd.cpp.
References Retro::Rfd::fCnam, Retro::Rfd::fFd, and Retro::RerrMsg::InitErrno().
Referenced by Retro::Rw11VirtDiskFile::Read(), and Retro::Rw11VirtTapeTap::Read().
| bool Retro::RfileFd::WriteAll | ( | const void * | buf, |
| size_t | count, | ||
| RerrMsg & | emsg | ||
| ) |
FIXME_docs.
Definition at line 119 of file RfileFd.cpp.
References Retro::Rfd::fFd, and Retro::RerrMsg::InitErrno().
Referenced by Retro::Rw11VirtDiskFile::Write(), and Retro::Rw11VirtTapeTap::Write().