16#ifndef included_Retro_RfileFd
17#define included_Retro_RfileFd 1
33 explicit RfileFd(
const char* cnam);
38 bool Open(
const char* fname,
int flags,
RerrMsg& emsg);
39 bool Open(
const char* fname,
int flags, mode_t mode,
42 off_t
Seek(off_t offset,
int whence,
RerrMsg& emsg);
44 ssize_t
Read(
void *buf,
size_t count,
RerrMsg& emsg);
RfileFd(const RfileFd &)=delete
RfileFd & operator=(const RfileFd &)=delete
bool WriteAll(const void *buf, size_t count, RerrMsg &emsg)
FIXME_docs.
ssize_t Read(void *buf, size_t count, 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 Open(const char *fname, int flags, RerrMsg &emsg)
FIXME_docs.
bool Truncate(off_t length, RerrMsg &emsg)
FIXME_docs.
Declaration of class ReventLoop.