2 * See README.dlfcn for license
5 * @(#)dlfcn.h 1.4 revision of 95/04/25 09:36:52
6 * This is an unpublished work copyright (c) 1992 HELIOS Software GmbH
7 * 30159 Hannover, Germany
18 * Mode flags for the dlopen routine.
20 #define RTLD_LAZY 1 /* lazy function call binding */
21 #define RTLD_NOW 2 /* immediate function call binding */
22 #define RTLD_GLOBAL 0x100 /* allow symbols to be global */
25 * To be able to initialize, a library may provide a dl_info structure
26 * that contains functions to be called to initialize and terminate.
33 #if __STDC__ || defined(_IBMR2)
34 void *dlopen(const char *path
, int mode
);
35 void *dlsym(void *handle
, const char *symbol
);
37 int dlclose(void *handle
);
49 #endif /* __dlfcn_h__ */