Skip site navigation (1)Skip section navigation (2)
Date:      31 Jul 1997 08:31:03 +0200
From:      Thomas Gellekum <tg@ihf.rwth-aachen.de>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        boia01@castor.GEL.USherb.CA (Alex.Boisvert), chuckr@glue.umd.edu, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Almost JDK 1.1.2 port!
Message-ID:  <8767tr91i0.fsf@ghpc6.ihf.rwth-aachen.de>
In-Reply-To: Michael Smith's message of Wed, 30 Jul 1997 23:28:13 %2B0930 (CST)
References:  <199707301358.XAA22566@genesis.atrad.adelaide.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Smith <msmith@atrad.adelaide.edu.au> writes:
> 
> Sorry; I was in a 3.x window - you're quie correct, RTLD_LAZY isn't
> documented for 2.2

>From dlopen(3) on 2.2-STABLE:

     RTLD_LAZY   Each external function reference is resolved when the func-
                 tion is first called.

     RTLD_NOW    All external function references are bound immediately by
                 dlopen().

     RTLD_LAZY is normally preferred, for reasons of efficiency.  However,
     RTLD_NOW is useful to ensure that any undefined symbols are discovered
     during the call to dlopen().  If dlopen() fails, it returns a null point-
     er, and sets an error condition which may be interrogated with dlerror().

tg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8767tr91i0.fsf>