1<dlfcn.h>(0P) POSIX Programmer's Manual <dlfcn.h>(0P)
2
3
4
6 dlfcn.h - dynamic linking
7
9 #include <dlfcn.h>
10
12 The <dlfcn.h> header shall define at least the following macros for use
13 in the construction of a dlopen() mode argument:
14
15 RTLD_LAZY
16 Relocations are performed at an implementation-defined time.
17
18 RTLD_NOW
19 Relocations are performed when the object is loaded.
20
21 RTLD_GLOBAL
22 All symbols are available for relocation processing of other
23 modules.
24
25 RTLD_LOCAL
26 All symbols are not made available for relocation processing by
27 other modules.
28
29
30 The following shall be declared as functions and may also be defined as
31 macros. Function prototypes shall be provided.
32
33
34 int dlclose(void *);
35 char *dlerror(void);
36 void *dlopen(const char *, int);
37 void *dlsym(void *restrict, const char *restrict);
38
39 The following sections are informative.
40
42 None.
43
45 None.
46
48 None.
49
51 The System Interfaces volume of IEEE Std 1003.1-2001, dlopen(),
52 dlclose(), dlsym(), dlerror()
53
55 Portions of this text are reprinted and reproduced in electronic form
56 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
57 -- Portable Operating System Interface (POSIX), The Open Group Base
58 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
59 Electrical and Electronics Engineers, Inc and The Open Group. In the
60 event of any discrepancy between this version and the original IEEE and
61 The Open Group Standard, the original IEEE and The Open Group Standard
62 is the referee document. The original Standard can be obtained online
63 at http://www.opengroup.org/unix/online.html .
64
65
66
67IEEE/The Open Group 2003 <dlfcn.h>(0P)