From: Andrew P. <at...@pi...> - 2014-09-27 14:11:50
|
On Fri, Sep 26, 2014 at 08:55:37PM +0200, Maurizio Martignano wrote: > Dear Andrew and Gustaf, > I believe this is the function you are looking for: > > http://msdn.microsoft.com/en-us/library/ms235413.aspx No, it is not. mktemp and friends merely generate a file name, while mkstemp also opens the file and returns a file handle. So yes, you could use mktemp as part of an implementation of mkstemp, but they do are not replacements for each other. -- Andrew Piskorski <at...@pi...> |