diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 20:56:23 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 20:56:23 -0700 |
commit | 2f10b98df9dfb8459bcf8a174c6f851522b932b4 (patch) | |
tree | dc81c70e884d06997529c8667cd9e94a4c915485 /system | |
parent | 6983a2290487551295765b0f92d1b5c183cbcb31 (diff) |
handwritten dlfcn.h; fixes test_dlfcn
Diffstat (limited to 'system')
-rw-r--r-- | system/include/dlfcn.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/include/dlfcn.h b/system/include/dlfcn.h new file mode 100644 index 00000000..f3439c70 --- /dev/null +++ b/system/include/dlfcn.h @@ -0,0 +1,15 @@ + +extern "C" { + +#define RTLD_LAZY 1 +#define RTLD_NOW 2 +#define RTLD_GLOBAL 4 +#define RTLD_LOCAL 8 + +void *dlopen(const char *, int); +void *dlsym(void *, const char *); +int dlclose(void *); +char *dlerror(void); + +} + |