lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Oct 29, 2010 at 12:23:32PM -0200, Luiz Henrique de Figueiredo wrote:
> > how do I get the path used to generate the temp file created by io.tmpfile()
> 
> You can't. The whole point of tmpfile is to give you a file handle without
> giving you the file name to avoid race conditions.

And indeed, on some OSes, the file has no name.

B.