forked from KolibriOS/kolibrios
Add <dlfcn.h> functions to libck.a (these functions initialize COFF library the same way as dll.inc)
git-svn-id: svn://kolibrios.org@7847 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
14
programs/develop/ktcc/trunk/libc/include/dlfcn.h
Normal file
14
programs/develop/ktcc/trunk/libc/include/dlfcn.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef _DLFCN_H
|
||||
#define _DLFCN_H
|
||||
|
||||
#define RTLD_LAZY 0x00001
|
||||
#define RTLD_NOW 0x00002
|
||||
#define RTLD_GLOBAL 0x00100
|
||||
#define RTLD_LOCAL 0
|
||||
|
||||
int dlclose(void *handle);
|
||||
char *dlerror(void);
|
||||
void *dlopen(const char *name, int mode);
|
||||
void *dlsym(void *restrict handle, const char *restrict name);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user