MCPcopy Create free account
hub / github.com/arun11299/cpp-subprocess / send

Method send

cpp-subprocess/subprocess.hpp:2016–2020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2014 }
2015
2016 inline int Communication::send(const char* msg, size_t length)
2017 {
2018 if (stream_->input() == nullptr) return -1;
2019 return std::fwrite(msg, sizeof(char), length, stream_->input());
2020 }
2021
2022 inline int Communication::send(const std::vector<char>& msg)
2023 {

Callers 5

test_cat_send_terminateFunction · 0.45
test_inputFunction · 0.45
sendMethod · 0.45
sendMethod · 0.45

Calls 1

inputMethod · 0.45

Tested by 3

test_cat_send_terminateFunction · 0.36
test_inputFunction · 0.36