Thanks Andrew for response. I understand now we have to call following sequence using dldump(3dl) #include<stdio.h> #include<stdlib.h> #include<dlfcn.h> int main() { const char * ipath = "./foo.so"; const char * opath = "./myfoo.so"; if (dldump(ipath, opath, RTLD_REL_ALL) != 0) (void) printf("dldump failed: %s\n", dlerror()); _exithandle(); _exit(0); }
am I correct ? now my doubt is if the above sequesnce is called why I can not called exit(0) which calls _exithandle() and then _exit(0) I think this is also follows the same sequence as you said. regards Bhushan This message posted from opensolaris.org