subprocess::Popen::send

Sends raw bytes to the child's input channel.

Synopsis

Declared in <util/subprocess.h>

int
send(
    char const* msg,
    size_t length);

Return Value

Number of bytes written, or -1 on error.

Parameters

NameDescription
msgPointer to the bytes to send.
lengthNumber of bytes to send.