MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / posix_socket_identity_equal

Function posix_socket_identity_equal

src/daemon/ipc.c:1717–1722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1715}
1716
1717static bool posix_socket_identity_equal(const posix_socket_identity_t *left,
1718 const posix_socket_identity_t *right) {
1719 return left && right && left->device == right->device && left->inode == right->inode &&
1720 left->ctime_seconds == right->ctime_seconds &&
1721 left->ctime_nanoseconds == right->ctime_nanoseconds;
1722}
1723
1724static bool posix_socket_inode_equal(const posix_socket_identity_t *left,
1725 const posix_socket_identity_t *right) {

Calls

no outgoing calls

Tested by

no test coverage detected