Load into the specified pipeName the system-dependent canonical pipe name corresponding to the specified baseName. Return 0 on success, and a nonzero value if baseName cannot be part of a pipe name on this system.
Declared in <bdls_pipeutil.h>
static
int
makeCanonicalName(
bsl::string* pipeName,
std::string_view const& baseName);
On Unix systems, the canonical name is defined by prefixing baseName with the directory specified by the SOCKDIR environment variable if it is set, otherwise with the directory specified by the TMPDIR environment variable if it is set, and otherwise by the current directory.
On Windows systems, the canonical name is defined by prefixing baseName with "\.pipe".
Finally, any uppercase characters in baseName are converted to lower case in the canonical name.