Rename dlopen() to cosmo_dlopen()

This commit is contained in:
Justine Tunney 2023-11-12 01:19:04 -08:00
parent c6d3802d3a
commit bd56a9cf51
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 81 additions and 10 deletions

View file

@ -18,6 +18,14 @@ void *dlsym(void *, const char *);
int dlclose(void *);
int dl_iterate_phdr(int (*)(void *, size_t, void *), void *);
#ifdef _COSMO_SOURCE
char *cosmo_dlerror(void);
void *cosmo_dlopen(const char *, int);
void *cosmo_dlsym(void *, const char *);
int cosmo_dlclose(void *);
int cosmo_dl_iterate_phdr(int (*)(void *, size_t, void *), void *);
#endif
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_DLFCN_H_ */