Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
CSE130 Assignment
Basic: Read and write ASCII text files
Read Missing Return appropriate error code when asked to read a non-existent file.
Read Exists Read requested number of bytes from an existing file starting at the first byte of
the file and populating from the first byte of the supplied buffer.
Read File Offset Read requested number of bytes from an existing file starting at a given byte of
the file and populating from the first byte of the supplied buffer.
Read Buffer Offset Read requested number of bytes from an existing file starting at the first byte of
the file and populating from a given byte of the supplied buffer.
Read Both Offset Read requested number of bytes from an existing file starting at a given byte of
the file and populating from a given byte of the supplied buffer
Write Missing Create a file and write the requested number of bytes from the supplied buffer
starting at the first byte of the new file and the first byte of the supplied buffer.
Write Exists Return appropriate error code when asked to write to an existing file.
Write File Offset Create a file and write the requested number of bytes from the supplied buffer
starting at the requested byte of the new file and the first byte of the supplied
buffer.