send overloads
Declared in <util/subprocess.h>
Sends the contents of a string to the child's input channel.
int
send(std::string const& msg);
» more...
Sends the contents of a byte vector to the child's input channel.
int
send(std::vector<char> const& msg);
» more...
Sends raw bytes to the child's input channel.
int
send(
char const* msg,
size_t length);
» more...
Number of bytes written, or -1 on error.
| Name | Description |
|---|---|
| msg | Text to send. |
| length | Number of bytes to send. |