The RawFile class (See Figure 3.6) is also derived from the FileStat class, and is the wrapper class for the low-level file I/O system calls.
There are two constructors for this class. One takes the file name as the parameter, while the other takes the file descriptor. They only store the parameters in the member variables.
The supported primitive operations are open(), create(), close(), read(), write(), and seek(), which correspond with the open(), creat(), close(), read(), write(), and lseek() system calls, respectively.
There is little need for the explanation of each operation. They are the unshakable standards in the C language. The only feature to be explained is that the object does not close the opened file when destructed.