dlfcn-util: add dlsym_many_and_warn() helper
When we dlopen() some library we most likely will resolve more than a few symbols, hence add a helper that makes it easy.
This commit is contained in:
@@ -6,3 +6,5 @@
|
||||
#include "macro.h"
|
||||
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(void*, dlclose);
|
||||
|
||||
int dlsym_many_and_warn(void *dl, int level, ...);
|
||||
|
||||
Reference in New Issue
Block a user