1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

LibC: Stub out dlfcn

This commit is contained in:
Robin Burchell 2019-05-23 15:32:30 +02:00 committed by Andreas Kling
parent 14a202f011
commit 5b3c4afff2
3 changed files with 35 additions and 1 deletions

22
LibC/dlfcn.cpp Normal file
View file

@ -0,0 +1,22 @@
#include "dlfcn.h"
#include <assert.h>
int dlclose(void*)
{
ASSERT_NOT_REACHED();
}
char *dlerror()
{
ASSERT_NOT_REACHED();
}
void *dlopen(const char*, int)
{
ASSERT_NOT_REACHED();
}
void *dlsym(void*, const char*)
{
ASSERT_NOT_REACHED();
}