Linux 中 dlopen、dlsym、dlclose、dlerror函数
编译时候要加入 -ldl (指定dl库)
dlopen
基本定义
功能:打开一个动态链接库 [喝小酒的网摘]http://blog.const.net.cn/a/17154.htm
包含头文件:
#include <dlfcn.h>
函数定义:
void * dlopen( const char * pathname, int mode );
函数描述:
在dlopen的()函数以指定...
转载
2019-04-26 16:04:55 ·
1067 阅读 ·
0 评论