[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Almost JDK 1.1.2 port!
From:       Thomas Gellekum <tg () ihf ! rwth-aachen ! de>
Date:       1997-07-31 6:31:03
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic