You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker 7ee447c011
v811_spc009_project
4 months ago
..
README v811_spc009_project 4 months ago
fd_file.cc v811_spc009_project 4 months ago
fd_file.h v811_spc009_project 4 months ago
fd_file_test.cc v811_spc009_project 4 months ago
random_access_file.h v811_spc009_project 4 months ago
random_access_file_test.h v811_spc009_project 4 months ago
random_access_file_utils.cc v811_spc009_project 4 months ago
random_access_file_utils.h v811_spc009_project 4 months ago

README

A simple C++ wrapper for Unix file I/O.

This is intended to be lightweight and easy to use, similar to Java's
RandomAccessFile and related classes. The usual C++ idioms of RAII and "you
don't pay for what you don't use" apply.

In particular, the basic RandomAccessFile interface is kept small and simple so
it's trivial to add new implementations.

This code will not log, because it can't know whether that's appropriate in
your application.

This code will, in general, return -errno on failure. If an operation consisted
of multiple sub-operations, it will return the errno corresponding to the most
relevant operation.