diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-19 04:30:20 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-19 04:30:20 +0000 |
| commit | 2b2581ee37f080c0a95d20aedecd5cb04e81ef4a (patch) | |
| tree | 4ce1a3bcc3cd8793e50f48abba8eab04c8e7ea07 /man3/dlopen.3 | |
| parent | 2dd578fd5b80cbfe5892b200633aa1442c4ac674 (diff) | |
| download | man-pages-2b2581ee37f080c0a95d20aedecd5cb04e81ef4a.tar.gz | |
Fix inconsistencies in order of .SH sections
Diffstat (limited to 'man3/dlopen.3')
| -rw-r--r-- | man3/dlopen.3 | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 38f29a2d79..410a29fa49 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -357,6 +357,37 @@ The function does the same as .BR dlsym () but takes a version string as an additional argument. +.SH "CONFORMING TO" +POSIX.1-2001 describes +.BR dlclose (), +.BR dlerror (), +.BR dlopen (), +and +.BR dlsym (). +.SH NOTES +The symbols RTLD_DEFAULT and RTLD_NEXT are defined by +.I <dlfcn.h> +only when _GNU_SOURCE was defined before including it. +.\" .LP +.\" The string returned by +.\" .BR dlerror () +.\" should not be modified. +.\" Some systems give the prototype as +.\" .sp +.\" .in +5 +.\" .B "const char *dlerror(void);" +.\" .in + +Since glibc 2.2.3, +.BR atexit (3) +can be used to register an exit handler that is automatically +called when a library is unloaded. +.SS History +The dlopen interface standard comes from SunOS. +That system also has +.BR dladdr (), +but not +.BR dlvsym (). .SH EXAMPLE Load the math library, and print the cosine of 2.0: .RS @@ -410,37 +441,6 @@ follows, using bar.c as the example name: .LP gcc \-shared \-nostartfiles \-o bar bar.c .RE -.SH NOTES -The symbols RTLD_DEFAULT and RTLD_NEXT are defined by -.I <dlfcn.h> -only when _GNU_SOURCE was defined before including it. -.\" .LP -.\" The string returned by -.\" .BR dlerror () -.\" should not be modified. -.\" Some systems give the prototype as -.\" .sp -.\" .in +5 -.\" .B "const char *dlerror(void);" -.\" .in - -Since glibc 2.2.3, -.BR atexit (3) -can be used to register an exit handler that is automatically -called when a library is unloaded. -.SS History -The dlopen interface standard comes from SunOS. -That system also has -.BR dladdr (), -but not -.BR dlvsym (). -.SH "CONFORMING TO" -POSIX.1-2001 describes -.BR dlclose (), -.BR dlerror (), -.BR dlopen (), -and -.BR dlsym (). .SH "SEE ALSO" .BR ld (1), .BR ldd (1), |
