Sends the contents of a byte vector to the child's input channel.

Synopsis

Declared in <util/subprocess.h>

int
send(std::vector<char> const& msg);

Return Value

Number of bytes written, or ‐1 on error.

Parameters

Name

Description

msg

Bytes to send.

Created with MrDocs