Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clementgallet/libTAS
/ removeSocket
Function
removeSocket
src/shared/sockethelpers.cpp:57–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
55
static std::mutex mutex;
56
57
int removeSocket(void) {
58
int ret = unlink(SOCKET_FILENAME);
59
if ((ret == -1) && (errno != ENOENT))
60
return errno;
61
return 0;
62
}
63
64
#ifndef LIBTAS_LIBRARY
65
bool initSocketProgram(pid_t fork_pid)
Callers
1
init
Method · 0.85
Calls
1
unlink
Function · 0.85
Tested by
no test coverage detected