From owner-freebsd-hackers Fri Mar 9 15:35:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by hub.freebsd.org (Postfix) with ESMTP id 3411A37B718 for ; Fri, 9 Mar 2001 15:35:38 -0800 (PST) (envelope-from mjl@SDSC.EDU) Received: from multivac.sdsc.edu (multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.9.3/8.9.3/SDSCserver-16) with ESMTP id PAA21337; Fri, 9 Mar 2001 15:35:37 -0800 (PST) Received: from localhost by multivac (8.9.3+Sun/1.11-SolarisClient) with ESMTP id PAA29925; Fri, 9 Mar 2001 15:35:33 -0800 (PST) Date: Fri, 9 Mar 2001 15:35:33 -0800 (PST) From: Matthew Luckie To: Cc: Subject: atexit Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I'm wondering under what conditions a function specified with atexit() won't get called on FreeBSD when a program terminates. The manual page says it gets called "via exit(3) or via return from the program's main". I take it that the cleanup function won't be called if the program dumps core, or if it is terminated with a kill(1) - or might it? Thanks Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message