MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / isLinux

Method isLinux

src/os_linux.cpp:243–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243bool OS::isLinux() {
244 return true;
245}
246
247// _CS_GNU_LIBC_VERSION is not defined on musl
248const static bool musl = confstr(_CS_GNU_LIBC_VERSION, NULL, 0) == 0 && errno != 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected