Linux Standard Base Core Specification 4.1 | ||
---|---|---|
<<< Previous | Chapter 12. Base Libraries | Next >>> |
This section defines global identifiers and their values that are associated with interfaces contained in libdl. These definitions are organized into groups that correspond to system headers. This convention is used as a convenience for the reader, and does not imply the existence of these headers, or their content. Where an interface is defined as requiring a particular system header file all of the data definitions for that system header file presented here shall be in effect.
This section gives data definitions to promote binary application portability, not to repeat source interface definitions available elsewhere. System providers and application developers should use this ABI to supplement - not to replace - source interface definition specifications.
This specification uses the ISO C (1999) C Language as the reference programming language, and data definitions are specified in ISO C format. The C language is used here as a convenient notation. Using a C language description of these data objects does not preclude their use by other programming languages.
#define RTLD_NEXT ((void *) -1l) #define RTLD_DEFAULT ((void *) 0) #define RTLD_LOCAL 0 #define RTLD_LAZY 0x00001 #define RTLD_NOW 0x00002 #define RTLD_GLOBAL 0x00100 typedef struct { char *dli_fname; void *dli_fbase; char *dli_sname; void *dli_saddr; } Dl_info; extern int dladdr(const void *__address, Dl_info * __info); extern int dlclose(void *__handle); extern char *dlerror(void); extern void *dlopen(const char *__file, int __mode); extern void *dlsym(void *__handle, const char *__name); extern void *dlvsym(void *handle, const char *name, const char *version); |
<<< Previous | Home | Next >>> |
Interfaces for libdl | Up | Interface Definitions for libdl |