MCPcopy Create free account
hub / github.com/actuallyaridan/linux-devmgmt / sockaddr

Class sockaddr

src/monitor/UdevMonitor.cpp:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 addr.nl_groups = 1; // kernel uevents multicast group
20
21 if (bind(m_sock, reinterpret_cast<struct sockaddr *>(&addr), sizeof(addr)) < 0) {
22 close(m_sock);
23 m_sock = -1;
24 return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected