| 230 | } |
| 231 | |
| 232 | std::string path() const |
| 233 | { |
| 234 | if (sockaddr.un.sun_path[0] == '\0') { |
| 235 | return '\0' + std::string(sockaddr.un.sun_path + 1); |
| 236 | } |
| 237 | |
| 238 | return std::string(sockaddr.un.sun_path); |
| 239 | } |
| 240 | |
| 241 | operator sockaddr_storage() const |
| 242 | { |
no outgoing calls
no test coverage detected