Afficher un message
Vieux 21/01/2008, 08h39   #5
Lars Uffmann
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: tmpnam behaviour on subsequent calls

Jensen Somers wrote:
> I only have experience using this function in C, where I had to move to
> tempnam() because tmpnam() was causing portability issues towards
> Windows Vista (LUA related stuff). Although, nowadays I noticed GCC
> returns a warning message saying that the use of mkstemp() is advised.


Thank you - tempnam() suits my purpose much better. If mkstemp() is
advised, that is understandable in general (according to documentation),
but is there any way to use ofstream with the integer file descriptor
returned by mkstemp? Doesn't seem like it to me :/

So I guess I'll work with tempnam() for now

Best Regards,

Lars
  Réponse avec citation
 
Page generated in 0,05417 seconds with 9 queries