Return true if the pipe with the specified UTF‐8 pipeName exists, the calling process has permission to write to it, and some process is able to read the bytes written to it, and false otherwise. On Windows, this function may block and may write an "empty message", consisting of a single newline. The behavior is undefined unless pipeName is a valid UTF‐8 string. Note that even though a process might have the pipe open for reading, this function might still return false because there are not sufficient resources available.

Synopsis

Declared in <bdls_pipeutil.h>

static
bool
isOpenForReading(std::string_view const& pipeName);

Created with MrDocs