1 #ifndef POSIXX_SOCKET_UNIX_PRINT_HPP_
2 #define POSIXX_SOCKET_UNIX_PRINT_HPP_
4 #include "../inet.hpp" // posixx::socket::inet::sockaddr
5 #include <ostream> // std::ostream
8 std::ostream& operator << (std::ostream& os,
9 const posixx::socket::unix::sockaddr& sa) throw()
11 return os << "unix::sockaddr(path=" << sa.sun_path << ")";
14 #endif // POSIXX_SOCKET_UNIX_PRINT_HPP_