MCPcopy Create free account
hub / github.com/boostorg/build / path_tmpfile

Function path_tmpfile

src/engine/pathsys.c:276–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274 */
275
276OBJECT * path_tmpfile( void )
277{
278 OBJECT * result;
279 OBJECT * tmpnam;
280
281 string file_path[ 1 ];
282 string_copy( file_path, path_tmpdir()->value );
283 string_push_back( file_path, PATH_DELIM );
284 tmpnam = path_tmpnam();
285 string_append( file_path, object_str( tmpnam ) );
286 object_free( tmpnam );
287 result = object_new( file_path->value );
288 string_free( file_path );
289
290 return result;
291}
292
293
294/*

Callers 3

var_getFunction · 0.85
exec_cmdFunction · 0.85
function_runFunction · 0.85

Calls 9

string_copyFunction · 0.85
path_tmpdirFunction · 0.85
string_push_backFunction · 0.85
path_tmpnamFunction · 0.85
string_appendFunction · 0.85
object_strFunction · 0.85
object_freeFunction · 0.85
object_newFunction · 0.85
string_freeFunction · 0.85

Tested by

no test coverage detected