MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / Open

Method Open

tests/licensedcode/data/perf/udll.cxx:378–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378BOOL PDynaLink::Open(const PString & _name)
379{
380 Close();
381
382 name = _name;
383
384#if defined(P_OPENBSD)
385 dllHandle = dlopen((char *)(const char *)name, RTLD_NOW);
386#else
387 dllHandle = dlopen((const char *)name, RTLD_NOW);
388#endif
389
390 return IsLoaded();
391}
392
393void PDynaLink::Close()
394{

Calls 1

dlopenFunction · 0.70

Tested by

no test coverage detected