mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-06-02 01:37:57 +00:00
24 lines
361 B
C
24 lines
361 B
C
#include <dlfcn.h>
|
|
|
|
static char *error = "Not implemented";
|
|
|
|
__attribute__((weak)) void *dlopen(const char *filename, int flags)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
__attribute__((weak)) void *dlsym(void *handle, const char *symbol)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
__attribute__((weak)) int dlclose(void *handle)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
__attribute__((weak)) char *dlerror(void)
|
|
{
|
|
return error;
|
|
}
|