MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / SteamclientMapped

Function SteamclientMapped

src/platform/linux/init.cpp:521–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521static bool SteamclientMapped()
522{
523 FILE* f = fopen("/proc/self/maps", "r");
524 if (!f) return false;
525 char line[512];
526 bool found = false;
527 while (fgets(line, sizeof(line), f)) {
528 if (strstr(line, "steamclient.so")) {
529 found = true;
530 break;
531 }
532 }
533 fclose(f);
534 return found;
535}
536
537static void* DeferredInitThread(void*)
538{

Callers 2

DeferredInitThreadFunction · 0.85
OnLoadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected