Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 15:35:33 -0800 (PST)
From:      Matthew Luckie <mjl@SDSC.EDU>
To:        <hackers@freebsd.org>
Cc:        <mjl@sdsc.edu>
Subject:   atexit
Message-ID:  <Pine.GSO.4.30.0103091531250.24402-100000@multivac.sdsc.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.30.0103091531250.24402-100000>