mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
8f52c0d773
$ m=tiny $ make -j12 MODE=$m o/$m/third_party/quickjs/qjs.com $ o/$m/third_party/quickjs/qjs.com -e 'console.log(2 + 2)' 4 $ ls -hal o/$m/third_party/quickjs/qjs.com 631.5K See #97
23 lines
595 B
C
23 lines
595 B
C
#ifndef COSMOPOLITAN_LIBC_RUNTIME_DLFCN_H_
|
|
#define COSMOPOLITAN_LIBC_RUNTIME_DLFCN_H_
|
|
|
|
#define RTLD_LOCAL 0
|
|
#define RTLD_LAZY 1
|
|
#define RTLD_NOW 2
|
|
#define RTLD_GLOBAL 256
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
#define RTLD_NEXT ((void *)-1)
|
|
#define RTLD_DEFAULT ((void *)0)
|
|
|
|
char *dlerror(void);
|
|
void *dlopen(const char *, int);
|
|
void *dlsym(void *, const char *);
|
|
int dlclose(void *);
|
|
int dl_iterate_phdr(int (*)(void *, size_t, void *), void *);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_RUNTIME_DLFCN_H_ */
|