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:
2020-04-30 08:47:52 +00:00
parent 7fa0f1b5ea
commit 46051e254f
4 changed files with 129 additions and 18 deletions

View 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