You need to sign in or sign up before continuing.
dlopen_ns_dso.c 163 字节
Newer Older
Y
yangwenjun 已提交
1
#include <stdio.h>
Y
yinchuang 已提交
2
#include <dlfcn.h>
Y
yangwenjun 已提交
3 4 5
void sayhello()
{
   printf ("hello world!\n"); 
Y
yinchuang 已提交
6 7 8 9 10
}

void* call_dlopen(const char* name)
{
   return dlopen(name, RTLD_NOW);
Y
yangwenjun 已提交
11
}