toaruos/base/usr/include/dlfcn.h
2018-09-01 22:14:34 +09:00

16 lines
368 B
C

#pragma once
/* Currently unused... */
#define RTLD_LAZY (1 << 0)
#define RTLD_NOW (1 << 1)
#define RTLD_GLOBAL (1 << 2)
#define RTLD_DEFAULT ((void*)0)
/* Provided by ld.so, but also defined by libc.so for linking */
extern void * dlopen(const char *, int);
extern int dlclose(void *);
extern void * dlsym(void *, const char *);
extern char * dlerror(void);