On Mon, 11 Oct 1999, Marc Lehmann wrote:

> In any case, why not use tmpfile or a similar function to create it? that
> function will do exactly what is required and will work on all systems (as
> good as it can).

Under Linux at least, tmpfile() simply does an unlink() after opening the
file. :-)

The problem with tmpfile(), as it has been pointed out, is that it does
not allow for changing the path to swap dir.

---
David Monniaux     Tel: +33 1 44 32 20 66    Fax: +33 1 44 32 20 80 
Laboratoire d'informatique de l'École Normale Supérieure,
45 rue d'Ulm - 75230 PARIS cedex 5 - FRANCE

Reply via email to