commit | e774345b2f5761931072280a83c7b5b08de05dab | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Fri Aug 12 17:39:44 2022 -0700 |
committer | William A. Kennington III <wak@google.com> | Tue Aug 16 13:04:42 2022 -0700 |
tree | b33b3b372b8ea8c905aa5defa0f8630d00ec3433 | |
parent | 4f5711cbf72737debc790561ba2cfe2d1a38f7bd [diff] |
fd/fmt: Add storage consistent formatted output This makes it trivial for a caller to write to files piecewise while still guaranteeing that the output is always consistent. It performs buffered writes to a tmpfile and only once successful does it swap out for the resulting file. Change-Id: I7e733a283ee60a47ddc6923cd9579fa49a7c5434 Signed-off-by: William A. Kennington III <wak@google.com>
stdplus is a c++ project containing commonly used classes and functions for the Linux platform. Note the goals of this project are to implement only the minimum set of features needed by the OpenBMC project and other users. You may find the included set of functions currently quite sparse.
This project provides the following primitives:
Test cases require google{test,mock}, valgrind, and lcov. It also requires the Meson Build System which can be installed following the instructions at mesonbuild.com.
For a standard release build, you want something like:
meson setup -Dexamples=false -Dtests=disabled builddir ninja -C builddir ninja -C builddir install
For a test / debug build, a typical configuration is
meson setup -Dtests=enabled builddir meson test -C builddir