Date: Sat, 27 Nov 2010 11:52:10 -0500 From: Ryan Stone <rysto32@gmail.com> To: "Carlos A. M. dos Santos" <unixmania@gmail.com> Cc: FreeBSD-Hackers <freebsd-hackers@freebsd.org>, d@delphij.net Subject: Re: Is it possible to have file removed upon process exit? Message-ID: <AANLkTikCp1MMA33BUG4CgUrhfV_bvL0vc6Ejm01KmUx_@mail.gmail.com> In-Reply-To: <AANLkTinK-xXgzxcRA9XW7XfGHPHyaxZzc2TwT%2BWpB9U7@mail.gmail.com> References: <4CEEC3BD.3080204@delphij.net> <AANLkTinK-xXgzxcRA9XW7XfGHPHyaxZzc2TwT%2BWpB9U7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 27, 2010 at 11:42 AM, Carlos A. M. dos Santos <unixmania@gmail.com> wrote: > > Did you try to use atexit(3) to register a deletion function? > That doesn't help you if the process crashes. The OP wants a solution that works even if the process doesn't exit cleanly.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikCp1MMA33BUG4CgUrhfV_bvL0vc6Ejm01KmUx_>