Check if a string is a valid UNIX domain socket path
Synopsis
Declared in <netbase.h>
bool
IsUnixSocketPath(std::string const& name);
Return Value
Whether the string has proper format, length, and points to an existing file path
Parameters
Name |
Description |
name |
The string provided by the user representing a local path |
Created with MrDocs