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

Function path_tmpfile

v2/engine/pathsys.c:270–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268 */
269
270OBJECT * path_tmpfile( void )
271{
272 OBJECT * result;
273 OBJECT * tmpnam;
274
275 string file_path[ 1 ];
276 string_copy( file_path, path_tmpdir()->value );
277 string_push_back( file_path, PATH_DELIM );
278 tmpnam = path_tmpnam();
279 string_append( file_path, object_str( tmpnam ) );
280 object_free( tmpnam );
281 result = object_new( file_path->value );
282 string_free( file_path );
283
284 return result;
285}

Callers 2

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