OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man3 / dlopen.3
index 808736a..b1f21be 100644 (file)
@@ -1,9 +1,9 @@
-.\" -*- nroff -*-
 .\" Copyright 1995 Yggdrasil Computing, Incorporated.
 .\" written by Adam J. Richter (adam@yggdrasil.com),
 .\" with typesetting help from Daniel Quinlan (quinlan@yggdrasil.com).
 .\" and Copyright 2003 Michael Kerrisk (mtk.manpages@gmail.com).
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
@@ -20,9 +20,9 @@
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
 .\"
 .\" Modified by David A. Wheeler <dwheeler@dwheeler.com> 2000-11-28.
 .\" Applied patch by Terran Melconian, aeb, 2001-12-14.
@@ -55,7 +55,7 @@ The four functions
 .BR dlclose (),
 .BR dlerror ()
 implement the interface to the dynamic linking loader.
-.SS "dlerror()"
+.SS dlerror()
 The function
 .BR dlerror ()
 returns a human readable string describing the most recent error
@@ -68,7 +68,7 @@ since the last call to
 .BR dlerror ().
 It returns NULL if no errors have occurred since initialization or since
 it was last called.
-.SS "dlopen()"
+.SS dlopen()
 The function
 .BR dlopen ()
 loads the dynamic library file named by the null-terminated
@@ -233,7 +233,7 @@ may force symbol resolution for a library earlier loaded with
 If
 .BR dlopen ()
 fails for any reason, it returns NULL.
-.SS "dlsym()"
+.SS dlsym()
 The function
 .BR dlsym ()
 takes a "handle" of a dynamic library returned by
@@ -274,7 +274,7 @@ will find the next occurrence of a function in the search order
 after the current library.
 This allows one to provide a wrapper
 around a function in another shared library.
-.SS "dlclose()"
+.SS dlclose()
 The function
 .BR dlclose ()
 decrements the reference count on the dynamic library handle
@@ -285,7 +285,7 @@ symbols in it, then the dynamic library is unloaded.
 The function
 .BR dlclose ()
 returns 0 on success, and nonzero on error.
-.SS "The obsolete symbols _init() and _fini()"
+.SS The obsolete symbols _init() and _fini()
 The linker recognizes special symbols
 .B _init
 and
@@ -378,7 +378,7 @@ provided by glibc since version 2.1,
 does the same as
 .BR dlsym ()
 but takes a version string as an additional argument.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 POSIX.1-2001 describes
 .BR dlclose (),
 .BR dlerror (),
@@ -504,11 +504,12 @@ follows, using \fIbar.c\fP as the example name:
 .LP
     gcc \-shared \-nostartfiles \-o bar bar.c
 .in
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR ld (1),
 .BR ldd (1),
 .BR dl_iterate_phdr (3),
 .BR rtld-audit (7),
 .BR ld.so (8),
-.BR ldconfig (8),
+.BR ldconfig (8)
+
 ld.so info pages, gcc info pages, ld info pages