| 24 | } |
| 25 | |
| 26 | ::std::string to_string(::std::vector<struct ::iovec>& iov) { |
| 27 | ::std::string s; |
| 28 | for (auto one_iov : iov) { |
| 29 | s.append(static_cast<char*>(one_iov.iov_base), one_iov.iov_len); |
| 30 | } |
| 31 | return s; |
| 32 | } |
| 33 | |
| 34 | void release(::std::vector<struct ::iovec>& iov) { |
| 35 | for (auto one_iov : iov) { |
nothing calls this directly
no outgoing calls
no test coverage detected