fd/fmt: Add buffered formatting to fd
This makes it possible to trivially write formatted data to a file
descriptor with built-in buffering to reduce the number of syscalls.
Change-Id: Ib66c062b65e2a611f13be570c2ed5fe5eb208fb7
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/meson.build b/src/meson.build
index 4364395..e491878 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -36,6 +36,7 @@
stdplus_srcs += [
'fd/create.cpp',
'fd/dupable.cpp',
+ 'fd/fmt.cpp',
'fd/impl.cpp',
'fd/line.cpp',
'fd/managed.cpp',