meson

dlsymdlopen

0.56.0

5 / 3471 files match, 5 filtered matches.

test cases/common/152 shared module resolving symbol in executable/prog.c



41 | #ifdef _WIN32
42 |   importedfunc = (fptr) GetProcAddress (h, "func");
43 | #else
44 |   importedfunc = (fptr) dlsym(h, "func");
45 | #endif
46 |   assert(importedfunc != NULL);


test cases/common/121 shared module/prog.c



77 |         goto nodl;
78 |     }
79 | 
80 |     importedfunc = (fptr) dlsym(dl, "func");
81 |     if (importedfunc == NULL) {
82 |         printf ("Could not find 'func'\n");


test cases/common/121 shared module/module.c



19 | #include <dlfcn.h>
20 | 
21 | fptr find_any_f (const char *name) {
22 |     return (fptr) dlsym(RTLD_DEFAULT, name);
23 | }
24 | #else /* _WIN32 */


test cases/cmake/21 shared module/prog.c



82 |         goto nodl;
83 |     }
84 | 
85 |     importedfunc = (fptr) dlsym(dl, "func");
86 |     if (importedfunc == NULL) {
87 |         printf ("Could not find 'func'\n");


test cases/cmake/21 shared module/subprojects/cmMod/module/module.c



19 | #include <dlfcn.h>
20 | 
21 | fptr find_any_f (const char *name) {
22 |     return (fptr) dlsym(RTLD_DEFAULT, name);
23 | }
24 | #else /* _WIN32 */