diff options
author | prout <prout@yandex-team.ru> | 2022-02-10 16:49:42 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:42 +0300 |
commit | 7b7fa28b9099b7adca890459a699c6ba5eeff4ca (patch) | |
tree | cffe238e08f715008f864d223dd0db8fc1f92f9f /util/system/pipe.cpp | |
parent | 0fd1998e1b2369f50fb694556f817d3c7fef10c8 (diff) | |
download | ydb-7b7fa28b9099b7adca890459a699c6ba5eeff4ca.tar.gz |
Restoring authorship annotation for <prout@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/pipe.cpp')
-rw-r--r-- | util/system/pipe.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/pipe.cpp b/util/system/pipe.cpp index a543bd7472..1d098e8966 100644 --- a/util/system/pipe.cpp +++ b/util/system/pipe.cpp @@ -98,7 +98,7 @@ public: return Handle_; } - size_t Read(void* buffer, size_t count) const { + size_t Read(void* buffer, size_t count) const { ssize_t r = Handle_.Read(buffer, count); if (r < 0) { ythrow TFileError() << "failed to read from pipe"; @@ -106,7 +106,7 @@ public: return r; } - size_t Write(const void* buffer, size_t count) const { + size_t Write(const void* buffer, size_t count) const { ssize_t r = Handle_.Write(buffer, count); if (r < 0) { ythrow TFileError() << "failed to write to pipe"; @@ -142,11 +142,11 @@ bool TPipe::IsOpen() const noexcept { return Impl_->IsOpen(); } -size_t TPipe::Read(void* buf, size_t len) const { +size_t TPipe::Read(void* buf, size_t len) const { return Impl_->Read(buf, len); } -size_t TPipe::Write(const void* buf, size_t len) const { +size_t TPipe::Write(const void* buf, size_t len) const { return Impl_->Write(buf, len); } |