In article <3780aeb2.20616...@agama.com>,
Andrew Iltchenko  <and...@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                                               j...@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 majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to