Guest User

ad-n770

a guest
Nov 12th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <dlfcn.h>
  3.  
  4. void main()
  5. {
  6. void *dl;
  7. int i;
  8.  
  9. for (i = 0; i < 2; i++) {
  10. dl = dlopen ("libclutter-glx-1.0.so", RTLD_LAZY);
  11. if (!dl) {
  12. dl = dlopen ("libclutter-glx-1.0.so.0", RTLD_LAZY);
  13. }
  14.  
  15. printf ("%d open dl: %p\n", i, dl);
  16. dlclose (dl);
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment