c - How can I call a library function just from its name? -
i want able use char *function_name = "foo" call foo() c program. foo() routine in shared library. don't have access dlopen, etc, load step regular executable. there way resolve name , load shared library?
no. either use dlopen , dlsym, or make own array of function names , function pointers , way.
Comments
Post a Comment