Update libc

This commit is contained in:
Alex
2022-11-07 08:34:02 +02:00
parent a003ec0889
commit 68e65dd602
10 changed files with 98 additions and 1 deletions

11
libc/include/dlfcn.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef __FENNIX_LIBC_DLFCN_H__
#define __FENNIX_LIBC_DLFCN_H__
#include <types.h>
void *dlopen(const char *filename, int flags);
void *dlsym(void *handle, const char *symbol);
int dlclose(void *handle);
char *dlerror(void);
#endif // !__FENNIX_LIBC_DLFCN_H__

View File

@ -0,0 +1,6 @@
#ifndef __FENNIX_LIBC_TYPES_H__
#define __FENNIX_LIBC_TYPES_H__
#define NULL ((void *)0)
#endif // !__FENNIX_LIBC_TYPES_H__