• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..12-Dec-2023-

READMEH A D12-Dec-2023625 1611

fd_file.ccH A D12-Dec-202318 KiB660537

fd_file.hH A D12-Dec-20236.6 KiB18280

fd_file_test.ccH A D12-Dec-20238.8 KiB307220

random_access_file.hH A D12-Dec-20232.5 KiB6916

random_access_file_test.hH A D12-Dec-20236.1 KiB184114

random_access_file_utils.ccH A D12-Dec-20231.2 KiB4117

random_access_file_utils.hH A D12-Dec-20231.1 KiB317

README

1A simple C++ wrapper for Unix file I/O.
2
3This is intended to be lightweight and easy to use, similar to Java's
4RandomAccessFile and related classes. The usual C++ idioms of RAII and "you
5don't pay for what you don't use" apply.
6
7In particular, the basic RandomAccessFile interface is kept small and simple so
8it's trivial to add new implementations.
9
10This code will not log, because it can't know whether that's appropriate in
11your application.
12
13This code will, in general, return -errno on failure. If an operation consisted
14of multiple sub-operations, it will return the errno corresponding to the most
15relevant operation.
16