a cross-platform way to make temporary files?

3 Aug
2006
3 Aug
'06
12: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

3 Aug
3 Aug
11:57 p.m.
tmpnam() seems standard C http://www.cplusplus.com/ref/cstdio/tmpnam.html Philippe

4 Aug
4 Aug
4: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
6973
Age (days ago)
6974
Last active (days ago)
2 comments
3 participants
participants (3)
-
jmzorko@mac.com
-
Loïc Joly
-
Philippe Vaucher