• Home
Name
Date
Size
#Lines
LOC

..--

READMED03-May-2024625 1611

fd_file.ccD03-May-20243.4 KiB13699

fd_file.hD03-May-20242.5 KiB7635

fd_file_test.ccD03-May-20241.6 KiB6439

mapped_file.ccD03-May-20244.2 KiB163131

mapped_file.hD03-May-20243.1 KiB9841

mapped_file_test.ccD03-May-20247.8 KiB266204

null_file.ccD03-May-20241.3 KiB6235

null_file.hD03-May-20241.6 KiB5120

null_file_test.ccD03-May-20242 KiB6834

random_access_file.hD03-May-20242.5 KiB6916

random_access_file_test.hD03-May-20245.6 KiB173107

random_access_file_utils.ccD03-May-20241.2 KiB3917

random_access_file_utils.hD03-May-20241.1 KiB317

random_access_file_utils_test.ccD03-May-20241.5 KiB5728

string_file.ccD03-May-20242.3 KiB9961

string_file.hD03-May-20241.7 KiB6026

string_file_test.ccD03-May-20241.1 KiB4320

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