4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-03 03:24:34 +08:00
qiuyiuestc b2fb4be811 add initial libdl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1052 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 15:41:10 +00:00

17 lines
417 B
C

#ifndef __DLFCN_H_
#define __DLFCN_H_
#define RTLD_LAZY 0x00000
#define RTLD_NOW 0x00001
#define RTLD_LOCAL 0x00000
#define RTLD_GLOBAL 0x10000
#define RTLD_DEFAULT ((void*)1)
#define RTLD_NEXT ((void*)2)
void *rt_dlopen (const char *filename, int flag);
const char *rt_dlerror(void);
void *rt_dlsym(void *handle, const char *symbol);
int rt_dlclose (void *handle);