From owner-freebsd-hackers Tue Jul 6 9:59:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id CA2DA14CFB for ; Tue, 6 Jul 1999 09:59:47 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id JAA10052; Tue, 6 Jul 1999 09:59:45 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id JAA15453; Tue, 6 Jul 1999 09:59:45 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Tue, 6 Jul 1999 09:59:45 -0700 (PDT) Message-Id: <199907061659.JAA15453@vashon.polstra.com> To: andrey@agama.com Subject: Re: Dynamic linking In-Reply-To: <3780AEB2.206160E0@agama.com> Organization: Polstra & Co., Seattle, WA Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <3780AEB2.206160E0@agama.com>, Andrew Iltchenko 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