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

Function path_tmpfile

src/engine/pathsys.cpp:278–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

var_getFunction · 0.85
exec_cmdFunction · 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