diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-08-08 05:14:33 +1000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-08-08 05:54:15 +1000 |
| commit | 82bd66b8b63fe8394711ffde7097add559acc401 (patch) | |
| tree | c9a00d7b597aec40a039174009eaf4ac2358e5a6 | |
| parent | 41932d348df7b4f2532457185eefe480422f5f32 (diff) | |
| download | man-pages-82bd66b8b63fe8394711ffde7097add559acc401.tar.gz | |
dlopen.3: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man3/dlopen.3 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 804c4cf78a..aa901270e6 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -498,6 +498,21 @@ can be used to register an exit handler that is automatically called when a shared object is unloaded. .SS History These functions are part of the dlopen API, derived from SunOS. +.SH BUGS +As at glibc 2.21, specifying the +.BR RTLD_GLOBAL +flag when calling +.BR dlmopen () +.\" dlerror(): "invalid mode" +generates an error. +Furthermore, specifying +.BR RTLD_GLOBAL +when calling +.BR dlopen () +results in a program crash +.RB ( SIGSEGV ) +if the call is made from any object loaded in a +namespace other than the initial namespace. .SH EXAMPLE The program below loads the (glibc) math library, looks up the address of the @@ -567,21 +582,6 @@ main(void) exit(EXIT_SUCCESS); } .fi -.SH BUGS -As at glibc 2.21, specifying the -.BR RTLD_GLOBAL -flag when calling -.BR dlmopen () -.\" dlerror(): "invalid mode" -generates an error. -Furthermore, specifying -.BR RTLD_GLOBAL -when calling -.BR dlopen () -results in a program crash -.RB ( SIGSEGV ) -if the call is made from any object loaded in a -namespace other than the initial namespace. .SH SEE ALSO .BR ld (1), .BR ldd (1), |
