const char * STDERR_DEVICE
default stderr
const char * STDIN_DEVICE
default stdin
Null null("/dev/null")
Filesystem node for the null device.
const char * STDOUT_DEVICE
default stdout
int close(File *) OVERRIDE
Close method.
Null(const char *path)
Constructor.
int open(File *, const char *, int, int) OVERRIDE
Open method.
int fstat(File *file, struct stat *stat) OVERRIDE
Get the status information of a file or device.
ssize_t read(File *, void *, size_t) OVERRIDE
Read method.
ssize_t write(File *, const void *, size_t) OVERRIDE
Write method.
#define OVERRIDE
Function attribute for virtual functions declaring that this funciton is overriding a funciton that s...
static int stat(struct _reent *reent, const char *path, struct stat *stat)
Get the status information of a file or device.