* @brief Accepts an incoming connection on a UNIX domain stream server socket * and returns an owned pointer. * * The owned pointer will be closed on destruction. * * @param flags Flags for `accept4()`; useless on other implementations. */
| 144 | * @param flags Flags for `accept4()`; useless on other implementations. |
| 145 | */ |
| 146 | unique_ptr<unix_stream_client> unix_stream_server::accept2(int flags) { |
| 147 | return unique_ptr<unix_stream_client>(accept(flags)); |
| 148 | } |
| 149 | } // namespace libsocket |
nothing calls this directly
no outgoing calls
no test coverage detected