diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-10 13:06:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-10 13:06:26 +0200 |
commit | 42e678071fdbda4890b24c9138c426c573e3ea56 (patch) | |
tree | a7865304d9fb27164ae2fc2bf5e3eb0d597f5dc9 /libbutl/fdstream.hxx | |
parent | b6706518054efa9440c8b5b43412e95ad0e73f89 (diff) |
Add fdwrite()
Diffstat (limited to 'libbutl/fdstream.hxx')
-rw-r--r-- | libbutl/fdstream.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbutl/fdstream.hxx b/libbutl/fdstream.hxx index 72634f5..683a2f2 100644 --- a/libbutl/fdstream.hxx +++ b/libbutl/fdstream.hxx @@ -975,6 +975,11 @@ namespace butl // LIBBUTL_SYMEXPORT std::streamsize fdread (int, void*, std::size_t); + + // POSIX write() function wrapper, for uniformity. + // + LIBBUTL_SYMEXPORT std::streamsize + fdwrite (int, const void*, std::size_t); } #include <libbutl/fdstream.ixx> |