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