libMesh
Loading...
Searching...
No Matches
Functions
win_mkstemp.h File Reference

Go to the source code of this file.

Functions

int mkstemp (char *tmpl)
 

Function Documentation

◆ mkstemp()

int mkstemp ( char *  tmpl)
inline

Definition at line 13 of file win_mkstemp.h.

14{
15 char *fn = _mktemp(tmpl);
16 if (fn == NULL)
17 return -1;
18
19 return _open(fn, _O_RDWR | _O_CREAT | _O_EXCL, _S_IREAD | _S_IWRITE);
20}

Referenced by libMesh::PetscMatrix< T >::print_personal().