Home | History | Annotate | only in /art/runtime/base/unix_file
Up to higher level directory
NameDateSize
fd_file.cc10-Mar-20156.9K
fd_file.h10-Mar-20154.2K
fd_file_test.cc16-Dec-20142.1K
mapped_file.cc10-Mar-20154.7K
mapped_file.h10-Mar-20153.3K
mapped_file_test.cc10-Mar-20158.4K
null_file.cc10-Mar-20151.3K
null_file.h10-Mar-20151.6K
null_file_test.cc10-Mar-20152.1K
random_access_file.h16-Dec-20142.5K
random_access_file_test.h10-Mar-20156.1K
random_access_file_utils.cc16-Dec-20141.2K
random_access_file_utils.h16-Dec-20141.1K
random_access_file_utils_test.cc10-Mar-20151.5K
README16-Dec-2014625
string_file.cc10-Mar-20152.3K
string_file.h10-Mar-20151.7K
string_file_test.cc10-Mar-20151.1K

README

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