Answers for "dlsym class"

0

dlsym class

shape *maker(){
   return new hexapod;
}
Posted by: Guest on March-30-2022
0

dlsym class

void *hndl = dlopen("libnewshapes.so", RTLD_NOW);
if(hndl == NULL){
   cerr << dlerror() << endl;
   exit(-1);
}
void *mkr = dlsym(hndl, "maker");
Posted by: Guest on March-30-2022

Browse Popular Code Answers by Language