a cross-platform way to make temporary files?

3 Aug
2006
3 Aug
'06
6:38 p.m.
Hello, all ... Does boost provide an abstraction for creating temporary files (::GetTempFileName() on Win32, POSIX tmpfile / tmpname)? Regards, John Falling You - exploring the beauty of voice and sound http://www.fallingyou.com

4 Aug
4 Aug
5:57 a.m.
tmpnam() seems standard C http://www.cplusplus.com/ref/cstdio/tmpnam.html Philippe

10:28 a.m.
Philippe Vaucher a écrit :
tmpnam() seems standard C
tmpnam is reputed to be highly unsafe. I'd appreciate too a portable and safe way to make temporary files in boost::filesystem. However, I think I read somewhere that some developers of boost::filesystem believed it was too daunting a task for this library. -- Loïc
6887
Age (days ago)
6888
Last active (days ago)
2 comments
3 participants
participants (3)
-
jmzorko@mac.com
-
Loïc Joly
-
Philippe Vaucher