Portable code should use RTLD_LAZY, not DL_LAZY.

This commit is contained in:
tnn 2008-03-31 00:23:15 +00:00
parent c7bcf11189
commit 14cd56faf0
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dlfcn.3,v 1.19 2005/03/21 13:25:22 kleink Exp $
.\" $NetBSD: dlfcn.3,v 1.20 2008/03/31 00:23:15 tnn Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd September 30, 1995
.Dd March 31, 2008
.Dt DLFCN 3
.Os
.Sh NAME
@ -90,7 +90,7 @@ provides access to all symbols from an ordered set of objects consisting
of the original program image and any dependencies loaded during startup.
.Pp
The second argument has currently no effect, but should be set to
.Dv DL_LAZY
.Dv RTLD_LAZY
for future compatibility.
.Fn dlopen
returns a handle to be used in calls to