MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / unlink_bind_path

Function unlink_bind_path

tools/pmux/pmux.cpp:684–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684static bool unlink_bind_path()
685{
686 if (unlink(unix_bind_path.c_str()) == -1 && errno != ENOENT) {
687 syslog(LOG_CRIT, "error unlinking path:%s rc:%d [%s]\n", unix_bind_path.c_str(),
688 errno, strerror(errno));
689 return false;
690 }
691 return true;
692}
693
694void sigint_handler(int signum, short evs, void *arg)
695{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected