remote call

pdl_handle = dlopen(lib_file_path, RTLD_LAZY);

pfFunval = dlsym(pdl_handle, call_info->func_name);

gcc -fPIC -shared libdemo.c -o libdemo.so

gcc -rdynamic -o app fei_agent_func.c -ldl

猜你喜欢

转载自www.cnblogs.com/soul-stone/p/10674856.html