Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jul 1999 09:59:45 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        andrey@agama.com
Cc:        hackers@freebsd.org
Subject:   Re: Dynamic linking
Message-ID:  <199907061659.JAA15453@vashon.polstra.com>
In-Reply-To: <3780AEB2.206160E0@agama.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <3780AEB2.206160E0@agama.com>,
Andrew Iltchenko  <andrey@agama.com> wrote:
> Hi everyone!
> 
> Is there a way of making dlopen return an error from the shared object's
> _init function?

No.  The _init function by definition is "void _init(void)", and so
it cannot return a value.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "No matter how cynical I get, I just can't keep up."        -- Nora Ephron


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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