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

Function path_get_temp_path_

src/engine/pathnt.cpp:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 */
69
70void path_get_temp_path_( string * buffer )
71{
72 DWORD pathLength = GetTempPathA( 0, NULL );
73 string_reserve( buffer, pathLength );
74 pathLength = GetTempPathA( pathLength, buffer->value );
75 buffer->value[ pathLength - 1 ] = '\0';
76 buffer->size = pathLength - 1;
77}
78
79
80/*

Callers 1

path_tmpdirFunction · 0.70

Calls 1

string_reserveFunction · 0.85

Tested by

no test coverage detected