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

Name

Description

msg

Pointer to the bytes to send.

length

Number of bytes to send.

Created with MrDocs