Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | #include <stdio.h> |
2 | #include <dlfcn.h> | |
3 | ||
4 | #ifndef RTLD_LOCAL | |
5 | #define RTLD_LOCAL 0 | |
6 | #endif | |
7 | ||
8 | int main(int argc, char *argv[]) | |
9 | { | |
10 | printf("structure RTLDFlags = struct\n"); | |
11 | printf(" val RTLD_GLOBAL = 0wx%x\n", RTLD_GLOBAL); | |
12 | printf(" val RTLD_LAZY = 0wx%x\n", RTLD_LAZY); | |
13 | printf(" val RTLD_LOCAL = 0wx%x\n", RTLD_LOCAL); | |
14 | printf(" val RTLD_NOW = 0wx%x\n", RTLD_NOW); | |
15 | printf("end\n"); | |
16 | ||
17 | return 0; | |
18 | } |