BloombergLP::bdls::PipeUtil::send

Send the specified message to the pipe with the specified UTF-8 pipeName. Return 0 on success, and a nonzero value otherwise. message is output in a single write' operation; consequently, messages that do not exceed the PIPE_BUF value (see []Atomicity) will not be interleaved even when multiple concurrent processes are writing to pipeName. The behavior is undefined unless pipeName is a valid UTF-8 string.

Synopsis

Declared in <bdls_pipeutil.h>

static
int
send(
    std::string_view const& pipeName,
    std::string_view const& message);