Data Fields
FileDescriptor Struct Reference

Structure used to read from/write to file. More...

#include <fileio.h>

Data Fields

int fd
 File descriptor. More...
 
int _error
 Error code for use with RBuffer callbacks or zero. More...
 
RBufferrv
 Read or write buffer. More...
 
bool wr
 True if file is in write mode. More...
 
bool eof
 True if end of file was encountered. More...
 
bool non_blocking
 True if EAGAIN should not restart syscalls. More...
 

Detailed Description

Structure used to read from/write to file.

Field Documentation

◆ _error

int FileDescriptor::_error

Error code for use with RBuffer callbacks or zero.

◆ eof

bool FileDescriptor::eof

True if end of file was encountered.

◆ fd

int FileDescriptor::fd

File descriptor.

◆ non_blocking

bool FileDescriptor::non_blocking

True if EAGAIN should not restart syscalls.

◆ rv

RBuffer* FileDescriptor::rv

Read or write buffer.

◆ wr

bool FileDescriptor::wr

True if file is in write mode.


The documentation for this struct was generated from the following file: