From owner-freebsd-hackers Wed Dec 19 10:49:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id B981F37B416 for ; Wed, 19 Dec 2001 10:49:12 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id fBJInAb33946 for freebsd-hackers@freebsd.org; Wed, 19 Dec 2001 19:49:10 +0100 (CET) (envelope-from ticso@cicely9.cicely.de) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id fBJInWtx075478 for ; Wed, 19 Dec 2001 19:49:43 +0100 (CET)?g (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (cicely9.cicely.de [10.1.7.11]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id fBJInVW19704 for ; Wed, 19 Dec 2001 19:49:31 +0100 (CET) Received: (from ticso@localhost) by cicely9.cicely.de (8.11.6/8.11.6) id fBJInVe66217 for freebsd-hackers@freebsd.org; Wed, 19 Dec 2001 19:49:31 +0100 (CET) (envelope-from ticso) Date: Wed, 19 Dec 2001 19:49:31 +0100 From: Bernd Walter To: freebsd-hackers@freebsd.org Subject: init code in dynamic libraries Message-ID: <20011219184930.GA66211@cicely9.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.24i X-Operating-System: FreeBSD cicely9.cicely.de 5.0-CURRENT alpha Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG How can I add initalisation code to a library without needing to call a function in the using application? What I saw is that libc does something like this but havn't found the starting point of this. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message