How in C to get the name of the shared library a symbol is loaded from programatically at runtime?

后端 未结 0 556
借酒劲吻你
借酒劲吻你 2020-12-05 03:55

I load a symbol from a shared library like this:

void *sym = dlsym(RTLD_DEFAULT, "printf");

That will tell me whether the symbol

相关标签:
回答
  • 消灭零回复
提交回复
热议问题